2023-09-01 09:00:36 -06:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
setuptools-scm,
|
|
|
|
fetchFromGitHub,
|
|
|
|
PyGithub,
|
|
|
|
pytz,
|
|
|
|
...
|
|
|
|
}:
|
2023-02-08 13:40:35 -07:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ghexport";
|
2023-03-17 12:36:44 -06:00
|
|
|
version = "20220828";
|
2023-02-08 13:40:35 -07:00
|
|
|
|
2023-09-01 09:00:36 -06:00
|
|
|
nativeBuildInputs = [setuptools-scm];
|
|
|
|
propagatedBuildInputs = [PyGithub pytz];
|
2023-02-08 13:40:35 -07:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2023-09-01 09:00:36 -06:00
|
|
|
buildInputs = [];
|
2023-02-08 13:40:35 -07:00
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
|
|
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "karlicoss";
|
|
|
|
repo = pname;
|
|
|
|
rev = "e7704dc5b984731a53e74cbcadcbc3dd9c3024cd";
|
|
|
|
hash = "sha256-m/iqeBvCXHlN7GsNW6A2AX1g+ZaH3W62+Ulcfgup0KQ=";
|
|
|
|
};
|
|
|
|
}
|