2021-05-03 20:48:10 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-07-04 02:40:35 +00:00
|
|
|
, python-dateutil
|
2021-05-03 20:48:10 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ghp-import";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-wiqc4Qw3dT4miNFk12WnANrkuNefptsKLDEyuniBiU8=";
|
|
|
|
};
|
|
|
|
|
2021-07-04 02:40:35 +00:00
|
|
|
propagatedBuildInputs = [ python-dateutil ];
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
# Does not include any unit tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "ghp_import" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Copy your docs directly to the gh-pages branch";
|
|
|
|
homepage = "https://github.com/c-w/ghp-import";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ veehaitch ];
|
|
|
|
};
|
|
|
|
}
|