2017-05-12 23:11:48 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi,
|
|
|
|
pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rfc3986";
|
2020-05-09 22:03:02 +01:00
|
|
|
version = "1.4.0";
|
2017-05-12 23:11:48 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 22:03:02 +01:00
|
|
|
sha256 = "17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi";
|
2017-05-12 23:11:48 +01:00
|
|
|
};
|
|
|
|
|
2019-03-09 13:38:27 +00:00
|
|
|
checkInputs = [ pytest ];
|
2017-05-12 23:11:48 +01:00
|
|
|
checkPhase = ''
|
2019-03-09 16:40:44 +00:00
|
|
|
pytest
|
2017-05-12 23:11:48 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 02:11:51 +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";
|
|
|
|
};
|
|
|
|
}
|