python312Packages.pint-xarray: init at 0.4 (#377344)
[NixPkgs.git] / pkgs / development / python-modules / ulid-transform / default.nix
blob0db9799f68c6e98b37a50e2e6cfc21d3084db443
2   lib,
3   cython,
4   buildPythonPackage,
5   fetchFromGitHub,
6   poetry-core,
7   pytest-benchmark,
8   pytest-cov-stub,
9   pytestCheckHook,
10   pythonOlder,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "ulid-transform";
16   version = "1.0.2";
17   pyproject = true;
19   disabled = pythonOlder "3.9";
21   src = fetchFromGitHub {
22     owner = "bdraco";
23     repo = "ulid-transform";
24     tag = "v${version}";
25     hash = "sha256-99hq329jUpok+rP8WzxN1yTOp15Zfy7tIGRpQMecrc0=";
26   };
28   build-system = [
29     cython
30     poetry-core
31     setuptools
32   ];
34   nativeCheckInputs = [
35     pytest-benchmark
36     pytest-cov-stub
37     pytestCheckHook
38   ];
40   pytestFlagsArray = [ "--benchmark-disable" ];
42   pythonImportsCheck = [ "ulid_transform" ];
44   meta = with lib; {
45     description = "Library to create and transform ULIDs";
46     homepage = "https://github.com/bdraco/ulid-transform";
47     changelog = "https://github.com/bdraco/ulid-transform/blob/${src.rev}/CHANGELOG.md";
48     license = with licenses; [ mit ];
49     maintainers = with maintainers; [ fab ];
50   };