tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.pycomposefile: refactor
Fabian Affolter
2 years ago
f255e6b7
42ba7dfb
+14
-8
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pycomposefile
default.nix
+14
-8
pkgs/development/python-modules/pycomposefile/default.nix
···
1
1
{ lib
2
2
, buildPythonPackage
3
3
, fetchPypi
4
4
-
, setuptools
5
4
, pyyaml
6
6
-
, twine
5
5
+
, pythonOlder
6
6
+
, setuptools
7
7
}:
8
8
9
9
buildPythonPackage rec {
10
10
pname = "pycomposefile";
11
11
version = "0.0.31";
12
12
-
format = "setuptools";
12
12
+
pyproject = true;
13
13
+
14
14
+
disabled = pythonOlder "3.8";
13
15
14
16
src = fetchPypi {
15
17
inherit pname version;
16
16
-
extension = "tar.gz";
17
18
hash = "sha256-SYul81giQLUM1FdgfabKJyrbSu4xdoaWblcE87ZbBwg=";
18
19
};
19
20
20
20
-
nativeBuildInput = [
21
21
+
build-system = [
21
22
setuptools
22
23
];
23
24
24
24
-
propagatedBuildInputs = [
25
25
+
dependencies = [
25
26
pyyaml
26
26
-
twine
27
27
];
28
28
29
29
-
doCheck = false; # tests are broken
29
29
+
# Tests are broken
30
30
+
doCheck = false;
31
31
+
32
32
+
pythonImportsCheck = [
33
33
+
"pycomposefile"
34
34
+
];
30
35
31
36
meta = with lib; {
32
37
description = "Python library for structured deserialization of Docker Compose files";
33
38
homepage = "https://github.com/smurawski/pycomposefile";
39
39
+
changelog = "https://github.com/smurawski/pycomposefile/releases/tag/v${version}";
34
40
license = licenses.mit;
35
41
maintainers = with maintainers; [ mdarocha ];
36
42
};