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
{ lib
2
, buildPythonPackage
3
, fetchPypi
4
-
, setuptools
5
, pyyaml
6
-
, twine
0
7
}:
8
9
buildPythonPackage rec {
10
pname = "pycomposefile";
11
version = "0.0.31";
12
-
format = "setuptools";
0
0
13
14
src = fetchPypi {
15
inherit pname version;
16
-
extension = "tar.gz";
17
hash = "sha256-SYul81giQLUM1FdgfabKJyrbSu4xdoaWblcE87ZbBwg=";
18
};
19
20
-
nativeBuildInput = [
21
setuptools
22
];
23
24
-
propagatedBuildInputs = [
25
pyyaml
26
-
twine
27
];
28
29
-
doCheck = false; # tests are broken
0
0
0
0
0
30
31
meta = with lib; {
32
description = "Python library for structured deserialization of Docker Compose files";
33
homepage = "https://github.com/smurawski/pycomposefile";
0
34
license = licenses.mit;
35
maintainers = with maintainers; [ mdarocha ];
36
};
···
1
{ lib
2
, buildPythonPackage
3
, fetchPypi
0
4
, pyyaml
5
+
, pythonOlder
6
+
, setuptools
7
}:
8
9
buildPythonPackage rec {
10
pname = "pycomposefile";
11
version = "0.0.31";
12
+
pyproject = true;
13
+
14
+
disabled = pythonOlder "3.8";
15
16
src = fetchPypi {
17
inherit pname version;
0
18
hash = "sha256-SYul81giQLUM1FdgfabKJyrbSu4xdoaWblcE87ZbBwg=";
19
};
20
21
+
build-system = [
22
setuptools
23
];
24
25
+
dependencies = [
26
pyyaml
0
27
];
28
29
+
# Tests are broken
30
+
doCheck = false;
31
+
32
+
pythonImportsCheck = [
33
+
"pycomposefile"
34
+
];
35
36
meta = with lib; {
37
description = "Python library for structured deserialization of Docker Compose files";
38
homepage = "https://github.com/smurawski/pycomposefile";
39
+
changelog = "https://github.com/smurawski/pycomposefile/releases/tag/v${version}";
40
license = licenses.mit;
41
maintainers = with maintainers; [ mdarocha ];
42
};