pythonPackages.kaptan: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 14:05:25 -04:00 committed by Frederik Rietdijk
parent 64d22bc0a9
commit c099f8aaa3
2 changed files with 27 additions and 19 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pyyaml
}:
buildPythonPackage rec {
pname = "kaptan";
version = "0.5.8";
src = fetchPypi {
inherit pname version;
sha256 = "1b8r86yyvdvyxd6f10mhkl6cr2jhxm80jjqr4zch96w9hs9rh5vq";
};
propagatedBuildInputs = [ pyyaml ];
meta = with stdenv.lib; {
description = "Configuration manager for python applications";
homepage = https://emre.github.io/kaptan/;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}

View File

@ -2324,25 +2324,7 @@ in {
pillowfight = callPackage ../development/python-modules/pillowfight { };
kaptan = buildPythonPackage rec {
name = "kaptan-${version}";
version = "0.5.8";
src = pkgs.fetchurl {
url = "mirror://pypi/k/kaptan/${name}.tar.gz";
sha256 = "1b8r86yyvdvyxd6f10mhkl6cr2jhxm80jjqr4zch96w9hs9rh5vq";
};
propagatedBuildInputs = with self; [ pyyaml ];
meta = with stdenv.lib; {
description = "Configuration manager for python applications";
homepage = https://emre.github.io/kaptan/;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
};
kaptan = callPackage ../development/python-modules/kaptan { };
keepalive = buildPythonPackage rec {
name = "keepalive-${version}";