2024-08-29 07:34:55 -06:00
|
|
|
{ buildPythonPackage
|
|
|
|
, setuptools-scm
|
|
|
|
, fetchFromGitHub
|
|
|
|
, PyGithub
|
|
|
|
, pytz
|
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ghexport";
|
2024-08-29 08:10:38 -06:00
|
|
|
version = "20231020";
|
2024-08-29 07:34:55 -06:00
|
|
|
|
2024-08-29 08:10:38 -06:00
|
|
|
pyproject = true;
|
2024-08-29 08:11:54 -06:00
|
|
|
|
2024-08-29 07:34:55 -06:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ PyGithub pytz ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
buildInputs = [ ];
|
|
|
|
|
|
|
|
preCheck = ''
|
|
|
|
export HOME=$(mktemp -d)
|
|
|
|
'';
|
|
|
|
|
|
|
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "karlicoss";
|
|
|
|
repo = pname;
|
2024-08-29 08:10:38 -06:00
|
|
|
rev = "03207b63da4a0f570700f373867ff67deb4f43d1";
|
|
|
|
hash = "sha256-QfYpi59q5uqOEAcxLC72972HMsgRlMngjuRULwRbmUc=";
|
2024-08-29 07:34:55 -06:00
|
|
|
};
|
|
|
|
}
|