pythonPackages.peppercorn: refactor move to python-modules
This commit is contained in:
parent
c7f8cabd83
commit
4e29f17549
22
pkgs/development/python-modules/peppercorn/default.nix
Normal file
22
pkgs/development/python-modules/peppercorn/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "peppercorn";
|
||||||
|
version = "0.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "921cba5d51fa211e6da0fbd2120b9a98d663422a80f5bb669ad81ffb0909774b";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A library for converting a token stream into a data structure for use in web form posts";
|
||||||
|
homepage = https://docs.pylonsproject.org/projects/peppercorn/en/latest/;
|
||||||
|
maintainers = with maintainers; [ garbas domenkozar ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2023,19 +2023,7 @@ in {
|
|||||||
|
|
||||||
path-and-address = callPackage ../development/python-modules/path-and-address { };
|
path-and-address = callPackage ../development/python-modules/path-and-address { };
|
||||||
|
|
||||||
peppercorn = buildPythonPackage rec {
|
peppercorn = callPackage ../development/python-modules/peppercorn { };
|
||||||
name = "peppercorn-0.5";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/p/peppercorn/${name}.tar.gz";
|
|
||||||
sha256 = "921cba5d51fa211e6da0fbd2120b9a98d663422a80f5bb669ad81ffb0909774b";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = with maintainers; [ garbas domenkozar ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pex = buildPythonPackage rec {
|
pex = buildPythonPackage rec {
|
||||||
name = "pex-${version}";
|
name = "pex-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user