2017-05-12 23:11:48 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rfc3986";
|
2018-12-16 12:48:02 +00:00
|
|
|
version = "1.2.0";
|
2017-05-12 23:11:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-12-16 12:48:02 +00:00
|
|
|
sha256 = "1qf4dyxvjs7mxrxc0gr7gzyn4iflb2wgq01r5pzrxac8rnvy8fmw";
|
2017-05-12 23:11:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest ];
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://rfc3986.readthedocs.org;
|
2017-05-12 23:11:48 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
description = "Validating URI References per RFC 3986";
|
|
|
|
};
|
|
|
|
}
|