lol

Merge pull request #219432 from fabaff/ulid-transform

python310Packages.ulid-transform: init at 0.4.0

authored by

Fabian Affolter and committed by
GitHub
43d89336 cb9760ba

+53
+51
pkgs/development/python-modules/ulid-transform/default.nix
··· 1 + { lib 2 + , cython 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , poetry-core 6 + , pytestCheckHook 7 + , pythonOlder 8 + , setuptools 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "ulid-transform"; 13 + version = "0.4.0"; 14 + format = "pyproject"; 15 + 16 + disabled = pythonOlder "3.9"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "bdraco"; 20 + repo = pname; 21 + rev = "refs/tags/v${version}"; 22 + hash = "sha256-JuTIE8FAVZkfn+byJ1z9/ep9Oih1uXpz/QTB2OfM0WU="; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + cython 27 + poetry-core 28 + setuptools 29 + ]; 30 + 31 + nativeCheckInputs = [ 32 + pytestCheckHook 33 + ]; 34 + 35 + postPatch = '' 36 + substituteInPlace pyproject.toml \ 37 + --replace " --cov=ulid_transform --cov-report=term-missing:skip-covered" "" 38 + ''; 39 + 40 + pythonImportsCheck = [ 41 + "ulid_transform" 42 + ]; 43 + 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/releases/tag/v${version}"; 48 + license = with licenses; [ mit ]; 49 + maintainers = with maintainers; [ fab ]; 50 + }; 51 + }
+2
pkgs/top-level/python-packages.nix
··· 11993 11993 11994 11994 ukrainealarm = callPackage ../development/python-modules/ukrainealarm { }; 11995 11995 11996 + ulid-transform = callPackage ../development/python-modules/ulid-transform { }; 11997 + 11996 11998 ultraheat-api = callPackage ../development/python-modules/ultraheat-api { }; 11997 11999 11998 12000 umalqurra = callPackage ../development/python-modules/umalqurra { };