pythonPackages.cmdline: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 18:49:00 +02:00 committed by Frederik Rietdijk
parent 66a578aa23
commit 8635a10749
2 changed files with 22 additions and 19 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, pyyaml }:
buildPythonPackage rec {
pname = "cmdline";
version = "0.1.6";
src = fetchPypi {
inherit pname version;
sha256 = "0sjkcfp4w3rxy2lm2n60dbfkc33kdb3f6254hrrvn4ci3rqv8b5y";
};
# No tests, https://github.com/rca/cmdline/issues/1
doCheck = false;
propagatedBuildInputs = [ pyyaml ];
meta = with stdenv.lib; {
description = "Utilities for consistent command line tools";
homepage = https://github.com/rca/cmdline;
license = licenses.asl20;
};
}

View File

@ -1576,25 +1576,7 @@ in {
cloudpickle = callPackage ../development/python-modules/cloudpickle { };
cmdline = buildPythonPackage rec {
pname = "cmdline";
version = "0.1.6";
name = "${pname}-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/c/${pname}/${name}.tar.gz";
sha256 = "be2cb4711e9111bb7386a408e3c66a730c36dd6ac05851a9f03d0f4eae63536a";
};
# No tests, https://github.com/rca/cmdline/issues/1
doCheck = false;
propagatedBuildInputs = with self; [ pyyaml ];
meta = {
description = "Utilities for consistent command line tools";
homepage = https://github.com/rca/cmdline;
license = licenses.asl20;
};
};
cmdline = callPackage ../development/python-modules/cmdline { };
codecov = callPackage ../development/python-modules/codecov {};