mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
python3Packages.rfc3986: add pythonImportsCheck
This commit is contained in:
parent
ae72567ccc
commit
245cde952a
@ -1,19 +1,34 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pythonOlder, idna, pytestCheckHook }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, idna
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rfc3986";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-l6rPnb1L/YKbqtbmMJ+mVzqvG+P2+nNcirBeRs7LJhw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ idna ];
|
||||
propagatedBuildInputs = [
|
||||
idna
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rfc3986"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Validating URI References per RFC 3986";
|
||||
|
Loading…
Reference in New Issue
Block a user