2023-02-01 06:37:45 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildPythonPackage
|
|
|
|
, poetry-core
|
|
|
|
, pytestCheckHook
|
|
|
|
, pytest-mock
|
|
|
|
, poetry
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "poetry-plugin-up";
|
2024-08-14 05:15:35 +00:00
|
|
|
version = "0.7.3";
|
2023-02-01 06:37:45 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MousaZeidBaker";
|
|
|
|
repo = pname;
|
2024-08-06 08:26:55 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-08-14 05:15:35 +00:00
|
|
|
hash = "sha256-yhGoiuqPUzEPiq+zO/RD4pB1LvOo80yLIpM+rRQHOmY=";
|
2023-02-01 06:37:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|