504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
28 lines
626 B
Nix
28 lines
626 B
Nix
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, lib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zipfile2";
|
|
version = "0.0.12";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cournape";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-BwcEgW4XrQqz0Jmtbyxf8q0mWTJXv2dL3Tk7N/IYuMI=";
|
|
};
|
|
|
|
patches = [ ./no-setuid.patch ];
|
|
|
|
pythonImportsCheck = [ "zipfile2" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/cournape/zipfile2";
|
|
description = "A backwards-compatible improved zipfile class";
|
|
maintainers = with maintainers; [ genericnerdyusername ];
|
|
license = licenses.psfl;
|
|
};
|
|
}
|