nixpkgs/pkgs/development/python-modules/rfc3986/default.nix

24 lines
483 B
Nix
Raw Normal View History

2017-05-12 23:11:48 +01:00
{ stdenv, buildPythonPackage, fetchPypi,
pytest }:
buildPythonPackage rec {
pname = "rfc3986";
version = "1.4.0";
2017-05-12 23:11:48 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi";
2017-05-12 23:11:48 +01:00
};
checkInputs = [ pytest ];
2017-05-12 23:11:48 +01:00
checkPhase = ''
pytest
2017-05-12 23:11:48 +01:00
'';
meta = with stdenv.lib; {
homepage = "https://rfc3986.readthedocs.org";
2017-05-12 23:11:48 +01:00
license = licenses.asl20;
description = "Validating URI References per RFC 3986";
};
}