mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
ghp-import: 0.5.5 -> 1.1.0 (#120794)
This commit is contained in:
parent
ce90673437
commit
58c1794062
4 changed files with 32 additions and 29 deletions
29
pkgs/development/python-modules/ghp-import/default.nix
Normal file
29
pkgs/development/python-modules/ghp-import/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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; [ ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -14517,7 +14517,7 @@ in
|
||||||
givaro_3 = callPackage ../development/libraries/givaro/3.nix {};
|
givaro_3 = callPackage ../development/libraries/givaro/3.nix {};
|
||||||
givaro_3_7 = callPackage ../development/libraries/givaro/3.7.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;
|
ghcid = haskellPackages.ghcid.bin;
|
||||||
|
|
||||||
|
|
|
@ -2658,6 +2658,8 @@ in {
|
||||||
|
|
||||||
ghdiff = callPackage ../development/python-modules/ghdiff { };
|
ghdiff = callPackage ../development/python-modules/ghdiff { };
|
||||||
|
|
||||||
|
ghp-import = callPackage ../development/python-modules/ghp-import { };
|
||||||
|
|
||||||
gidgethub = callPackage ../development/python-modules/gidgethub { };
|
gidgethub = callPackage ../development/python-modules/gidgethub { };
|
||||||
|
|
||||||
gin-config = callPackage ../development/python-modules/gin-config { };
|
gin-config = callPackage ../development/python-modules/gin-config { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue