summary refs log tree commit diff
path: root/pkgs/development/python-modules/ghp-import/default.nix
blob: 37a35febdf03f9fd2b746c003d1527b3d26e35db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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 ];
  };
}