depot/third_party/nixpkgs/pkgs/development/python-modules/rfc3986/default.nix
Default email 66604c92c1 Project import generated by Copybara.
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
2020-05-15 23:57:56 +02:00

23 lines
483 B
Nix

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