biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / fqdn / default.nix
blobdd8f5b8d8ca8aa3a9e49f03f82db6b8a75c44403
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "fqdn";
11   version = "1.5.1";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "ypcrts";
18     repo = pname;
19     rev = "v${version}";
20     hash = "sha256-T0CdWWr8p3JVhp3nol5hyxsrD3951JE2EDpFt+m+3bE=";
21   };
23   nativeCheckInputs = [ pytestCheckHook ];
25   pythonImportsCheck = [ "fqdn" ];
27   meta = with lib; {
28     description = "RFC-compliant FQDN validation and manipulation";
29     homepage = "https://github.com/ypcrts/fqdn";
30     license = licenses.mpl20;
31     maintainers = with maintainers; [ fab ];
32   };