depot/third_party/nixpkgs/pkgs/development/python-modules/ghp-import/default.nix
Default email 170c3b4027 Project import generated by Copybara.
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
2021-05-03 22:48:10 +02:00

29 lines
612 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, dateutil
}:
buildPythonPackage rec {
pname = "ghp-import";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-wiqc4Qw3dT4miNFk12WnANrkuNefptsKLDEyuniBiU8=";
};
propagatedBuildInputs = [ dateutil ];
# 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 ];
};
}