83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
31 lines
654 B
Nix
31 lines
654 B
Nix
{ lib, buildPythonPackage, fetchPypi, pefile, pillow}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "icoextract";
|
|
version = "0.1.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "tar.gz";
|
|
hash = "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 ];
|
|
};
|
|
}
|