nixpkgs/pkgs/by-name/po/poetry/plugins/poetry-plugin-up.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
878 B
Nix
Raw Normal View History

{ lib
, fetchFromGitHub
, buildPythonPackage
, poetry-core
, pytestCheckHook
, pytest-mock
, poetry
}:
buildPythonPackage rec {
pname = "poetry-plugin-up";
version = "0.7.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "MousaZeidBaker";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-yhGoiuqPUzEPiq+zO/RD4pB1LvOo80yLIpM+rRQHOmY=";
};
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 ];
};
}