python.pkgs.uritemplate: move expression
This commit is contained in:
parent
959f6cb284
commit
b038c92b03
23
pkgs/development/python-modules/uritemplate/default.nix
Normal file
23
pkgs/development/python-modules/uritemplate/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -14960,27 +14960,7 @@ in {
|
|||||||
|
|
||||||
update_checker = callPackage ../development/python-modules/update_checker {};
|
update_checker = callPackage ../development/python-modules/update_checker {};
|
||||||
|
|
||||||
uritemplate = buildPythonPackage rec {
|
uritemplate = callPackage ../development/python-modules/uritemplate { };
|
||||||
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; [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
uptime = buildPythonPackage rec {
|
uptime = buildPythonPackage rec {
|
||||||
name = "uptime-${version}";
|
name = "uptime-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user