3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #171255 from fabaff/fqdn

python310Packages.fqdn: init at 1.5.1
This commit is contained in:
Fabian Affolter 2022-05-02 20:54:34 +02:00 committed by GitHub
commit 859e3595d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "fqdn";
version = "1.5.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ypcrts";
repo = pname;
rev = "v${version}";
sha256 = "sha256-T0CdWWr8p3JVhp3nol5hyxsrD3951JE2EDpFt+m+3bE=";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"fqdn"
];
meta = with lib; {
description = "RFC-compliant FQDN validation and manipulation";
homepage = "https://github.com/ypcrts/fqdn";
license = licenses.mpl20;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -3170,6 +3170,8 @@ in {
fpyutils = callPackage ../development/python-modules/fpyutils { };
fqdn = callPackage ../development/python-modules/fqdn { };
freebox-api = callPackage ../development/python-modules/freebox-api { };
freetype-py = callPackage ../development/python-modules/freetype-py { };