Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / uritemplate / default.nix
blob5077267528a5fd0616b7610144c1e90e69ec2a1a
1 { lib, buildPythonPackage, fetchPypi, simplejson, pytest, glibcLocales }:
3 buildPythonPackage rec {
4   pname = "uritemplate";
5   version = "3.0.1";
7   src = fetchPypi {
8     inherit pname version;
9     sha256 = "5af8ad10cec94f215e3f48112de2022e1d5a37ed427fbd88652fa908f2ab7cae";
10   };
12   propagatedBuildInputs = [ simplejson ];
14   checkInputs = [ pytest glibcLocales ];
16   checkPhase = ''
17     LC_ALL=en_US.UTF-8 py.test
18   '';
20   meta = with lib; {
21     homepage = "https://github.com/python-hyper/uritemplate";
22     description = "URI template parsing for Humans";
23     license = with licenses; [ asl20 bsd3 ];
24     maintainers = with maintainers; [ matthiasbeyer ];
25   };