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
1
{
2
2
lib,
3
3
buildPythonPackage,
4
4
-
fetchPypi,
4
4
+
fetchFromGitHub,
5
5
poetry-core,
6
6
pytestCheckHook,
7
7
pythonOlder,
···
14
14
15
15
disabled = pythonOlder "3.8";
16
16
17
17
-
src = fetchPypi {
18
18
-
inherit pname version;
19
19
-
hash = "sha256-EztaCoUVbV9pIoba4X4liqPRZiZB6F65PB9cdb/eA+A=";
17
17
+
src = fetchFromGitHub {
18
18
+
owner = "erev0s";
19
19
+
repo = "apkInspector";
20
20
+
rev = "refs/tags/v${version}";
21
21
+
hash = "sha256-n6uVyN5XBEM/nuN7mvhNRwMUgUT5abOsh3CbhKK6ifY=";
20
22
};
21
23
22
24
build-system = [ poetry-core ];
23
25
24
24
-
# Tests are not available
25
25
-
# https://github.com/erev0s/apkInspector/issues/21
26
26
-
doCheck = false;
26
26
+
nativeCheckInputs = [ pytestCheckHook ];
27
27
28
28
pythonImportsCheck = [ "apkInspector" ];
29
29