generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stream-zip.nix
52 lines (45 loc) · 987 Bytes
/
stream-zip.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonPackage rec {
pname = "stream-zip";
version = "0.0.71";
pyproject = true;
src = fetchFromGitHub {
owner = "uktrade";
repo = "stream-zip";
rev = "v${version}";
hash = "sha256-zcYfpojAy0ZfJHuvYtsEr9SSpTc+tOH8gTKI9Fd4oHg=";
};
nativeBuildInputs = [
python3.pkgs.hatchling
];
propagatedBuildInputs = with python3.pkgs; [
pycryptodome
];
passthru.optional-dependencies = with python3.pkgs; {
ci = [
coverage
pycryptodome
pytest
pytest-cov
pyzipper
stream-unzip
];
dev = [
coverage
pytest
pytest-cov
pyzipper
stream-unzip
];
};
pythonImportsCheck = [ "stream_zip" ];
meta = with lib; {
description = "Python function to construct a ZIP archive on the fly";
homepage = "https://github.com/uktrade/stream-zip";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}