python.pkgs.uritemplate: move expression

This commit is contained in:
Robert Schütz 2018-04-05 22:05:51 +02:00 committed by Frederik Rietdijk
parent 959f6cb284
commit b038c92b03
2 changed files with 24 additions and 21 deletions

View File

@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, simplejson }:
buildPythonPackage rec {
pname = "uritemplate";
version = "0.6";
src = fetchPypi {
inherit pname version;
sha256 = "1zapwg406vkwsirnzc6mwq9fac4az8brm6d9bp5xpgkyxc5263m3";
};
# No tests in archive
doCheck = false;
propagatedBuildInputs = [ simplejson ];
meta = with lib; {
homepage = https://github.com/uri-templates/uritemplate-py;
description = "Python implementation of URI Template";
license = licenses.asl20;
maintainers = with maintainers; [ matthiasbeyer ];
};
}

View File

@ -14960,27 +14960,7 @@ in {
update_checker = callPackage ../development/python-modules/update_checker {};
uritemplate = buildPythonPackage rec {
name = "uritemplate-${version}";
version = "0.6";
src = pkgs.fetchurl {
url = "mirror://pypi/u/uritemplate/${name}.tar.gz";
sha256 = "1zapwg406vkwsirnzc6mwq9fac4az8brm6d9bp5xpgkyxc5263m3";
};
# No tests in archive
doCheck = false;
propagatedBuildInputs = with self; [ simplejson ];
meta = with stdenv.lib; {
homepage = https://github.com/uri-templates/uritemplate-py;
description = "Python implementation of URI Template";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
};
uritemplate = callPackage ../development/python-modules/uritemplate { };
uptime = buildPythonPackage rec {
name = "uptime-${version}";