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 ];
};
}