7 python3Packages.buildPythonApplication rec {
12 src = fetchFromGitHub {
16 hash = "sha256-McVG8966NCEpzc9biawLvUgbQUtterkIud/9GwOeltI=";
19 build-system = with python3Packages; [ setuptools ];
21 dependencies = with python3Packages; [
26 # tests expect mingw and multiarch
29 pythonImportsCheck = [ "icoextract" ];
32 substituteInPlace exe-thumbnailer.thumbnailer \
33 --replace Exec=exe-thumbnailer Exec=$out/bin/exe-thumbnailer
35 install -Dm644 exe-thumbnailer.thumbnailer -t $out/share/thumbnailers
39 description = "Extract icons from Windows PE files";
40 homepage = "https://github.com/jlu5/icoextract";
41 changelog = "https://github.com/jlu5/icoextract/blob/${version}/CHANGELOG.md";
42 license = licenses.mit;
43 maintainers = with maintainers; [
47 mainProgram = "icoextract";