forked from mirrors/nixpkgs
Merge pull request #171255 from fabaff/fqdn
python310Packages.fqdn: init at 1.5.1
This commit is contained in:
commit
859e3595d0
36
pkgs/development/python-modules/fqdn/default.nix
Normal file
36
pkgs/development/python-modules/fqdn/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue