writers: add writeGuile[Bin] (#364531)
[NixPkgs.git] / pkgs / development / python-modules / remotezip / default.nix
bloba362f99324aac5108f3435a9dddd269334cac6b8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   requests,
7   pytestCheckHook,
8   requests-mock,
9 }:
11 buildPythonPackage rec {
12   pname = "remotezip";
13   version = "0.12.3";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "gtsystem";
18     repo = "python-remotezip";
19     rev = "refs/tags/v${version}";
20     hash = "sha256-TNEM7Dm4iH4Z/P/PAqjJppbn1CKmyi9Xpq/sU9O8uxg=";
21   };
23   nativeBuildInputs = [ setuptools ];
25   propagatedBuildInputs = [ requests ];
27   nativeCheckInputs = [
28     pytestCheckHook
29     requests-mock
30   ];
32   pythonImportsCheck = [ "remotezip" ];
34   meta = with lib; {
35     description = "Python module to access single members of a zip archive without downloading the full content";
36     mainProgram = "remotezip";
37     homepage = "https://github.com/gtsystem/python-remotezip";
38     license = licenses.mit;
39     maintainers = with maintainers; [ nickcao ];
40   };