pythonPackages.rfc3986: Add extra dependencies, switch to pytestCheckHook
This commit is contained in:
parent
88f5cef41d
commit
57e4280160
@ -1,5 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi,
|
{ stdenv, buildPythonPackage, fetchPypi, idna, pytestCheckHook }:
|
||||||
pytest }:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "rfc3986";
|
pname = "rfc3986";
|
||||||
@ -10,14 +9,14 @@ buildPythonPackage rec {
|
|||||||
sha256 = "17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi";
|
sha256 = "17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest ];
|
propagatedBuildInputs = [ idna ];
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
checkInputs = [ pytestCheckHook ];
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
description = "Validating URI References per RFC 3986";
|
||||||
homepage = "https://rfc3986.readthedocs.org";
|
homepage = "https://rfc3986.readthedocs.org";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
description = "Validating URI References per RFC 3986";
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user