pythonPackages.colander: move expression

This commit is contained in:
Robert Schütz 2018-03-18 15:47:04 +01:00
parent edc94294c8
commit a6cbdeaef3
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi
, translationstring, iso8601 }:
buildPythonPackage rec {
pname = "colander";
version = "1.0";
src = fetchPypi {
inherit pname version;
sha256 = "7389413266b9e680c9529c16d56284edf87e0d5de557948e75f41d65683c23b3";
};
propagatedBuildInputs = [ translationstring iso8601 ];
meta = with lib; {
description = "A simple schema-based serialization and deserialization library";
homepage = https://docs.pylonsproject.org/projects/colander/en/latest/;
license = licenses.free; # http://repoze.org/LICENSE.txt
maintainers = with maintainers; [ garbas domenkozar ];
};
}

View File

@ -2384,21 +2384,7 @@ in {
});
colander = buildPythonPackage rec {
name = "colander-1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/c/colander/${name}.tar.gz";
sha256 = "7389413266b9e680c9529c16d56284edf87e0d5de557948e75f41d65683c23b3";
};
propagatedBuildInputs = with self; [ self.translationstring self.iso8601 ];
meta = {
maintainers = with maintainers; [ garbas domenkozar ];
platforms = platforms.all;
};
};
colander = callPackage ../development/python-modules/colander { };
# Backported version of the ConfigParser library of Python 3.3
configparser = if isPy3k then null else buildPythonPackage rec {