mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-09 05:57:04 +01:00
https://github.com/mdomke/python-ulid/blob/3.1.0/CHANGELOG.rst This commit was automatically generated using update-python-libraries.
51 lines
1,014 B
Nix
51 lines
1,014 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hatch-fancy-pypi-readme,
|
|
hatch-vcs,
|
|
hatchling,
|
|
pydantic,
|
|
freezegun,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-ulid";
|
|
version = "3.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mdomke";
|
|
repo = "python-ulid";
|
|
tag = version;
|
|
hash = "sha256-13yGd6vYnwzTi+KGJgoQ/z6Cy67FKVC4popaj2uPOlQ=";
|
|
};
|
|
|
|
build-system = [
|
|
hatch-fancy-pypi-readme
|
|
hatch-vcs
|
|
hatchling
|
|
];
|
|
|
|
optional-dependencies = {
|
|
pydantic = [ pydantic ];
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
freezegun
|
|
pytestCheckHook
|
|
]
|
|
++ optional-dependencies.pydantic;
|
|
|
|
pythonImportsCheck = [ "ulid" ];
|
|
|
|
meta = {
|
|
description = "ULID implementation for Python";
|
|
mainProgram = "ulid";
|
|
homepage = "https://github.com/mdomke/python-ulid";
|
|
changelog = "https://github.com/mdomke/python-ulid/blob/${src.tag}/CHANGELOG.rst";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ natsukium ];
|
|
};
|
|
}
|