ghp-import: 0.5.5 -> 1.1.0 (#120794)

This commit is contained in:
Vincent Haupert 2021-04-27 14:11:41 +02:00 committed by GitHub
parent ce90673437
commit 58c1794062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 29 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -1,28 +0,0 @@
{ python3, glibcLocales, lib }:
with python3.pkgs;
buildPythonApplication rec {
version = "0.5.5";
pname = "ghp-import";
src = fetchPypi {
inherit pname version;
sha256 = "1mvmpi7lqflw2lr0g0y5f9s0d1pv9cav4gbmaqnziqg442klx4iy";
};
disabled = isPyPy;
buildInputs = [ glibcLocales ];
LC_ALL="en_US.UTF-8";
# No tests available
doCheck = false;
meta = {
description = "Copy your docs directly to the gh-pages branch";
homepage = "https://github.com/davisp/ghp-import";
license = "Tumbolia Public License";
maintainers = with lib.maintainers; [ ];
};
}

View File

@ -14517,7 +14517,7 @@ in
givaro_3 = callPackage ../development/libraries/givaro/3.nix {};
givaro_3_7 = callPackage ../development/libraries/givaro/3.7.nix {};
ghp-import = callPackage ../development/tools/ghp-import { };
ghp-import = with python3Packages; toPythonApplication ghp-import;
ghcid = haskellPackages.ghcid.bin;

View File

@ -2658,6 +2658,8 @@ in {
ghdiff = callPackage ../development/python-modules/ghdiff { };
ghp-import = callPackage ../development/python-modules/ghp-import { };
gidgethub = callPackage ../development/python-modules/gidgethub { };
gin-config = callPackage ../development/python-modules/gin-config { };