1{ lib
2, buildPythonPackage
3, fetchPypi
4, python-dateutil
5}:
6
7buildPythonPackage rec {
8 pname = "ghp-import";
9 version = "1.1.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 hash = "sha256-wiqc4Qw3dT4miNFk12WnANrkuNefptsKLDEyuniBiU8=";
14 };
15
16 propagatedBuildInputs = [ python-dateutil ];
17
18 # Does not include any unit tests
19 doCheck = false;
20
21 pythonImportsCheck = [ "ghp_import" ];
22
23 meta = with lib; {
24 description = "Copy your docs directly to the gh-pages branch";
25 homepage = "https://github.com/c-w/ghp-import";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ veehaitch ];
28 };
29}