mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
pythonPackages.kaptan: refactor move to python-modules
This commit is contained in:
parent
64d22bc0a9
commit
c099f8aaa3
26
pkgs/development/python-modules/kaptan/default.nix
Normal file
26
pkgs/development/python-modules/kaptan/default.nix
Normal 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 ];
|
||||
};
|
||||
|
||||
}
|
@ -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}";
|
||||
|
Loading…
Reference in New Issue
Block a user