biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / portion / default.nix
blobf609b6040ea3dcb98cb80fccdca4c7cd6a0ddb0d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   sortedcontainers,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "portion";
12   version = "2.6.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "AlexandreDecan";
17     repo = "portion";
18     rev = "refs/tags/${version}";
19     hash = "sha256-TBCnlkGZZ/3tWEojxDGNYcXtYHhrooJkaWBsRkadXEE=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [ sortedcontainers ];
26   pythonImportsCheck = [ "portion" ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   meta = {
31     description = "Portion, a Python library providing data structure and operations for intervals";
32     homepage = "https://github.com/AlexandreDecan/portion";
33     changelog = "https://github.com/AlexandreDecan/portion/blob/${src.rev}/CHANGELOG.md";
34     license = lib.licenses.lgpl3;
35     maintainers = with lib.maintainers; [ GaetanLepage ];
36   };