depot/third_party/nixpkgs/pkgs/development/python-modules/icoextract/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

31 lines
656 B
Nix

{ lib, buildPythonPackage, fetchPypi, pefile, pillow}:
buildPythonPackage rec {
pname = "icoextract";
version = "0.1.4";
src = fetchPypi {
inherit pname version;
extension = "tar.gz";
sha256 = "sha256-x0GEV0PUbkAzoUJgAqup9bHd7iYttGyzIZNdo8KsFyo=";
};
propagatedBuildInputs = [
pefile
pillow
];
# tests expect mingw and multiarch
doCheck = false;
pythonImportsCheck = [
"icoextract"
];
meta = with lib; {
description = "Extract icons from Windows PE files";
homepage = "https://github.com/jlu5/icoextract";
license = licenses.mit;
maintainers = with maintainers; [ bryanasdev000 ];
};
}