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