Files
nixpkgs/pkgs/development/python-modules/rfc3986/default.nix
R. RyanTM 116edb8e7b python37Packages.rfc3986: 1.1.0 -> 1.2.0 (#52079)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-rfc3986/versions
2018-12-16 13:48:02 +01:00

24 lines
482 B
Nix

{ stdenv, buildPythonPackage, fetchPypi,
pytest }:
buildPythonPackage rec {
pname = "rfc3986";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1qf4dyxvjs7mxrxc0gr7gzyn4iflb2wgq01r5pzrxac8rnvy8fmw";
};
buildInputs = [ pytest ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
homepage = https://rfc3986.readthedocs.org;
license = licenses.asl20;
description = "Validating URI References per RFC 3986";
};
}