python.pkgs.uritemplate: update expression
* run tests * update meta info
This commit is contained in:
parent
f01bd848fc
commit
762378a5d7
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, simplejson }:
|
{ lib, buildPythonPackage, fetchPypi, simplejson, pytest, glibcLocales }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "uritemplate";
|
pname = "uritemplate";
|
||||||
@ -9,15 +9,18 @@ buildPythonPackage rec {
|
|||||||
sha256 = "c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d";
|
sha256 = "c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests in archive
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = [ simplejson ];
|
propagatedBuildInputs = [ simplejson ];
|
||||||
|
|
||||||
|
checkInputs = [ pytest glibcLocales ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
LC_ALL=en_US.UTF-8 py.test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/uri-templates/uritemplate-py;
|
homepage = https://github.com/python-hyper/uritemplate;
|
||||||
description = "Python implementation of URI Template";
|
description = "URI template parsing for Humans";
|
||||||
license = licenses.asl20;
|
license = with licenses; [ asl20 bsd3 ];
|
||||||
maintainers = with maintainers; [ matthiasbeyer ];
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user