tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.apkinspector: enable tests
Fabian Affolter
2 years ago
f0fb9cc0
6cec50ee
+7
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
apkinspector
default.nix
+7
-7
pkgs/development/python-modules/apkinspector/default.nix
···
1
{
2
lib,
3
buildPythonPackage,
4
-
fetchPypi,
5
poetry-core,
6
pytestCheckHook,
7
pythonOlder,
···
14
15
disabled = pythonOlder "3.8";
16
17
-
src = fetchPypi {
18
-
inherit pname version;
19
-
hash = "sha256-EztaCoUVbV9pIoba4X4liqPRZiZB6F65PB9cdb/eA+A=";
0
0
20
};
21
22
build-system = [ poetry-core ];
23
24
-
# Tests are not available
25
-
# https://github.com/erev0s/apkInspector/issues/21
26
-
doCheck = false;
27
28
pythonImportsCheck = [ "apkInspector" ];
29
···
1
{
2
lib,
3
buildPythonPackage,
4
+
fetchFromGitHub,
5
poetry-core,
6
pytestCheckHook,
7
pythonOlder,
···
14
15
disabled = pythonOlder "3.8";
16
17
+
src = fetchFromGitHub {
18
+
owner = "erev0s";
19
+
repo = "apkInspector";
20
+
rev = "refs/tags/v${version}";
21
+
hash = "sha256-n6uVyN5XBEM/nuN7mvhNRwMUgUT5abOsh3CbhKK6ifY=";
22
};
23
24
build-system = [ poetry-core ];
25
26
+
nativeCheckInputs = [ pytestCheckHook ];
0
0
27
28
pythonImportsCheck = [ "apkInspector" ];
29