tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.remotezip: init at 0.12.1
Nick Cao
3 years ago
981d2eeb
1caf5a6a
+49
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
remotezip
default.nix
top-level
python-packages.nix
+47
pkgs/development/python-modules/remotezip/default.nix
···
1
1
+
{ lib
2
2
+
, buildPythonPackage
3
3
+
, fetchFromGitHub
4
4
+
, requests
5
5
+
, tabulate
6
6
+
, pytestCheckHook
7
7
+
, requests-mock
8
8
+
}:
9
9
+
10
10
+
buildPythonPackage {
11
11
+
pname = "remotezip";
12
12
+
version = "0.12.1";
13
13
+
format = "setuptools";
14
14
+
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "gtsystem";
17
17
+
repo = "python-remotezip";
18
18
+
# upstream does not tag releases, determined with git blame
19
19
+
# pypi archive lacks files for tests
20
20
+
rev = "da62e115bdb2071ad08a8c91f7ae48f2c1827e0c";
21
21
+
hash = "sha256-su4dlV8KZuewf/yGdTnGHK9hNLHwGe10ditmFcne4Us=";
22
22
+
};
23
23
+
24
24
+
propagatedBuildInputs = [
25
25
+
requests
26
26
+
tabulate
27
27
+
];
28
28
+
29
29
+
nativeCheckInputs = [
30
30
+
pytestCheckHook
31
31
+
];
32
32
+
33
33
+
checkInputs = [
34
34
+
requests-mock
35
35
+
];
36
36
+
37
37
+
pythonImportsCheck = [
38
38
+
"remotezip"
39
39
+
];
40
40
+
41
41
+
meta = with lib; {
42
42
+
description = "Python module to access single members of a zip archive without downloading the full content";
43
43
+
homepage = "https://github.com/gtsystem/python-remotezip";
44
44
+
license = licenses.mit;
45
45
+
maintainers = with maintainers; [ nickcao ];
46
46
+
};
47
47
+
}
+2
pkgs/top-level/python-packages.nix
···
9943
9943
9944
9944
remote-pdb = callPackage ../development/python-modules/remote-pdb { };
9945
9945
9946
9946
+
remotezip = callPackage ../development/python-modules/remotezip { };
9947
9947
+
9946
9948
renault-api = callPackage ../development/python-modules/renault-api { };
9947
9949
9948
9950
rencode = callPackage ../development/python-modules/rencode { };