python3Packages.url-normalize: init at 1.4.3

This commit is contained in:
Fabian Affolter 2021-01-19 19:07:14 +01:00
parent dd3238c002
commit 2837ce664f
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry
, pytest-cov
, pytest-flakes
, pytest-mock
, pytest-socket
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "url-normalize";
version = "1.4.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "niksite";
repo = pname;
rev = version;
sha256 = "09nac5nh94x0n4bfazjfxk96b20mfsx6r1fnvqv85gkzs0rwqkaq";
};
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ six ];
checkInputs = [
pytest-cov
pytest-flakes
pytest-mock
pytest-socket
pytestCheckHook
];
pythonImportsCheck = [ "url_normalize" ];
meta = with lib; {
description = "URL normalization for Python";
homepage = "https://github.com/niksite/url-normalize";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7924,6 +7924,8 @@ in {
uritools = callPackage ../development/python-modules/uritools { }; uritools = callPackage ../development/python-modules/uritools { };
url-normalize = callPackage ../development/python-modules/url-normalize { };
urlgrabber = callPackage ../development/python-modules/urlgrabber { }; urlgrabber = callPackage ../development/python-modules/urlgrabber { };
urllib3 = callPackage ../development/python-modules/urllib3 { }; urllib3 = callPackage ../development/python-modules/urllib3 { };