blob: ab00788facc30019f99af880a45412154c2ab7b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ lib
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, poetry-core
, pytestCheckHook
, pytest-mock
, poetry
}:
buildPythonPackage rec {
pname = "poetry-plugin-up";
version = "0.3.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "MousaZeidBaker";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-QDfXgLkwh5rfyNZv0S7+cq6ubldXsbuCiTr6VYx8ZQs=";
};
patches = [
# https://github.com/MousaZeidBaker/poetry-plugin-up/pull/24
(fetchpatch {
url = "https://github.com/MousaZeidBaker/poetry-plugin-up/commit/31d78c547896efd27c2be0956a982638f32b07f8.patch";
hash = "sha256-CkZgX/ES+VkfxBofxWeparXNjsdP4qcQ1I32zaBBmWo=";
})
];
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 ];
};
}
|