summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/range-typed-integers/default.nix
blob: 735b328f56044407a9f322df6159ce4c72d866e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "range-typed-integers";
  version = "1.0.1";

  src = fetchFromGitHub {
    owner = "theCapypara";
    repo = "range-typed-integers";
    rev = version;
    sha256 = "sha256-4+XdalHq6Q2cBbuYi4x7kmCNQh1MwYf+XlLP9FzzzgE=";
  };

  pyproject = true;

  nativeBuildInputs = [ setuptools ];

  checkInputs = [ pytestCheckHook ];

  meta = {
    description = "Package provides integer types that have a specific range of valid values";
    homepage = "https://github.com/theCapypara/range-typed-integers";
    license = [ lib.licenses.mit ];
    maintainers = with lib.maintainers; [ marius851000 ];
  };
}