pythonPackages.peppercorn: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 10:36:04 -04:00 committed by Frederik Rietdijk
parent c7f8cabd83
commit 4e29f17549
2 changed files with 23 additions and 13 deletions

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

View File

@ -2023,19 +2023,7 @@ in {
path-and-address = callPackage ../development/python-modules/path-and-address { };
peppercorn = buildPythonPackage rec {
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;
};
};
peppercorn = callPackage ../development/python-modules/peppercorn { };
pex = buildPythonPackage rec {
name = "pex-${version}";