48 lines
907 B
Nix
48 lines
907 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
poetry-core,
|
|
pytestCheckHook,
|
|
pytest-mock,
|
|
poetry,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "poetry-plugin-up";
|
|
version = "0.9.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MousaZeidBaker";
|
|
repo = "poetry-plugin-up";
|
|
tag = "v${version}";
|
|
hash = "sha256-gVhx8Vhk+yT/QjcEme8w0F+6BBpnEZOqzCkUJgM9eck=";
|
|
};
|
|
|
|
build-system = [
|
|
poetry-core
|
|
];
|
|
|
|
buildInputs = [
|
|
poetry
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-mock
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
|
|
meta = {
|
|
description = "Poetry plugin to simplify package updates";
|
|
homepage = "https://github.com/MousaZeidBaker/poetry-plugin-up";
|
|
changelog = "https://github.com/MousaZeidBaker/poetry-plugin-up/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.k900 ];
|
|
};
|
|
}
|