blob: 2b3b27108d1b6cc644d273eab6cdeae59f9d287b (
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
53
54
55
56
57
58
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, build
, coloredlogs
, packaging
, pip
, toml
, twine
, wheel
}:
buildPythonPackage rec {
pname = "bork";
version = "7.0.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "duckinator";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-y/p2uuU+QKgJSdJmMt3oebm/zcuatYWTW8Jl79YxA3g=";
};
propagatedBuildInputs = [
build
coloredlogs
packaging
pip
toml
twine
wheel
];
pythonImportsCheck = [
"bork"
"bork.api"
"bork.cli"
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"-m 'not network'"
];
meta = with lib; {
description = "Python build and release management tool";
homepage = "https://github.com/duckinator/bork";
maintainers = with maintainers; [ nicoo ];
platforms = platforms.all;
};
}
|