nixpkgs/pkgs/development/python-modules/poetry-semver/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
524 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "poetry-semver";
version = "0.1.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-2Am2Eqons5vy0PydMbT0gJsOlyZGxfGc+kbHJbdjiBA=";
};
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A semantic versioning library for Python.";
homepage = "https://github.com/python-poetry/semver";
license = licenses.mit;
maintainers = with maintainers; [ cpcloud ];
};
}