blob: 6bd05f10c73b00a022ffd542f06541b3672dc88e (
plain)
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,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
poetry-dynamic-versioning,
loguru,
python-dateutil,
pyyaml,
tqdm,
click,
}:
buildPythonPackage rec {
pname = "bubop";
version = "0.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "bergercookie";
repo = "bubop";
tag = "v${version}";
hash = "sha256-NXA3UDOkCoj4dm3UO/X0w2Mpx4bw3yFO6oyOzsPgtrU=";
};
postPatch = ''
# Those versions seems to work with `bubop`.
'';
build-system = [
poetry-core
poetry-dynamic-versioning
];
dependencies = [
loguru
python-dateutil
pyyaml
tqdm
click
];
pythonImportsCheck = [ "bubop" ];
meta = {
description = "Bergercookie's Useful Bits Of Python; helper libraries for Bergercookie's programs";
homepage = "https://github.com/bergercookie/bubop";
changelog = "https://github.com/bergercookie/bubop/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = [ ];
};
}
|