depot/third_party/nixpkgs/pkgs/development/python-modules/poetry-semver/default.nix

25 lines
524 B
Nix
Raw Normal View History

{ 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 ];
};
}