504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
43 lines
877 B
Nix
43 lines
877 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildPythonPackage
|
|
, poetry-core
|
|
, pytestCheckHook
|
|
, pytest-mock
|
|
, poetry
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "poetry-plugin-up";
|
|
version = "0.7.1";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "MousaZeidBaker";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-ProwMnkg8LaPvb4aYyO1PR30iMSNE9oyKgCIX4O5j+E=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pytest-mock
|
|
poetry
|
|
];
|
|
|
|
preCheck = ''
|
|
export HOME=$TMPDIR
|
|
'';
|
|
|
|
meta = with lib; {
|
|
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 = licenses.mit;
|
|
maintainers = [ maintainers.k900 ];
|
|
};
|
|
}
|