pythonPackages.uritemplate_py: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-28 12:39:02 -04:00
parent a81adf0398
commit a9b2e72549
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 24 additions and 17 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "uritemplate.py";
version = "3.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1k5zvc5fyyrgv33mi3p86a9jn5n0pqffs9cviz92fw6q1kf7zvmr";
};
meta = with stdenv.lib; {
homepage = https://github.com/uri-templates/uritemplate-py;
description = "Python implementation of URI Template";
license = licenses.asl20;
maintainers = with maintainers; [ pSub ];
};
}

View File

@ -4047,24 +4047,9 @@ in {
unittest2 = callPackage ../development/python-modules/unittest2 { };
unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };
unittest-xml-reporting = callPackage ../development/python-modules/unittest-xml-reporting { };
uritemplate_py = buildPythonPackage rec {
name = "uritemplate.py-${version}";
version = "3.0.0";
src = pkgs.fetchurl {
url = "mirror://pypi/u/uritemplate.py/${name}.tar.gz";
sha256 = "1k5zvc5fyyrgv33mi3p86a9jn5n0pqffs9cviz92fw6q1kf7zvmr";
};
meta = with stdenv.lib; {
homepage = https://github.com/uri-templates/uritemplate-py;
description = "Python implementation of URI Template";
license = licenses.asl20;
maintainers = with maintainers; [ pSub ];
};
};
uritemplate_py = callPackage ../development/python-modules/uritemplate_py { };
uritools = callPackage ../development/python-modules/uritools { };