python.pkgs.ghp-import: move to all-packages.nix

because it's an application
This commit is contained in:
Frederik Rietdijk 2018-07-21 10:34:32 +02:00
parent c5c4880b28
commit 72a8c0feb6
3 changed files with 30 additions and 23 deletions

View File

@ -0,0 +1,28 @@
{ python3, glibcLocales, lib }:
with python3.pkgs;
buildPythonApplication rec {
version = "0.4.1";
pname = "ghp-import";
src = fetchPypi {
inherit pname version;
sha256 = "6058810e1c46dd3b5b1eee87e203bdfbd566e10cfc77566edda7aa4dbf6a3053";
};
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; [ garbas ];
};
}

View File

@ -9296,6 +9296,8 @@ with pkgs;
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 { };
icon-lang = callPackage ../development/interpreters/icon-lang { };
libgit2 = callPackage ../development/libraries/git2 {

View File

@ -16565,29 +16565,6 @@ EOF
'';
};
ghp-import = buildPythonPackage rec {
version = "0.4.1";
name = "ghp-import-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/g/ghp-import/${name}.tar.gz";
sha256 = "6058810e1c46dd3b5b1eee87e203bdfbd566e10cfc77566edda7aa4dbf6a3053";
};
disabled = isPyPy;
buildInputs = [ pkgs.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 maintainers; [ garbas ];
};
};
typogrify = buildPythonPackage rec {
name = "typogrify-2.0.7";
src = pkgs.fetchurl {