Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / range-typed-integers / default.nix
blob1bb5d7b26f62094d9525a5c6014511a95dec8443
1 { lib
2 , buildPythonPackage
3 , pythonOlder
4 , fetchFromGitHub
5 , pytestCheckHook
6 , setuptools
7 }:
9 buildPythonPackage rec {
10   pname = "range-typed-integers";
11   version = "1.0.1";
13   disabled = pythonOlder "3.8";
15   src = fetchFromGitHub {
16     owner = "theCapypara";
17     repo = "range-typed-integers";
18     rev = version;
19     sha256 = "sha256-4+XdalHq6Q2cBbuYi4x7kmCNQh1MwYf+XlLP9FzzzgE=";
20   };
22   format = "pyproject";
24   nativeBuildInputs = [ setuptools ];
26   checkInputs = [ pytestCheckHook ];
28   meta = with lib; {
29     description = "A package provides integer types that have a specific range of valid values";
30     homepage = "https://github.com/theCapypara/range-typed-integers";
31     license = [ licenses.mit ];
32     maintainers = with maintainers; [ marius851000 ];
33   };