nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 37 lines 705 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, setuptools_scm 5, pytest 6, pytest-flake8 7, more-itertools 8}: 9 10buildPythonPackage rec { 11 pname = "zipp"; 12 version = "0.6.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e"; 17 }; 18 19 nativeBuildInputs = [ setuptools_scm ]; 20 21 propagatedBuildInputs = [ more-itertools ]; 22 23 checkInputs = [ pytest pytest-flake8 ]; 24 25 checkPhase = '' 26 pytest 27 ''; 28 29 # Prevent infinite recursion with pytest 30 doCheck = false; 31 32 meta = with lib; { 33 description = "Pathlib-compatible object wrapper for zip files"; 34 homepage = https://github.com/jaraco/zipp; 35 license = licenses.mit; 36 }; 37}