1 { lib, stdenv, fetchurl, dpkg, autoPatchelfHook, makeWrapper
4 stdenv.mkDerivation rec {
9 url = "http://www.pixeluvo.com/downloads/${pname}_${version}_amd64.deb";
10 sha256 = "sha256-QYSuD6o3kHg0DrFihYEcf9e3b8U1bu4Zf78+Akmm8yo=";
24 libPath = lib.makeLibraryPath buildInputs;
38 install -Dm644 $out/opt/pixeluvo/pixeluvo.png -t $out/share/pixmaps/
40 substituteInPlace $out/share/applications/pixeluvo.desktop \
41 --replace '/opt/pixeluvo/pixeluvo.png' pixeluvo
43 makeWrapper $out/opt/pixeluvo/bin/Pixeluvo64 $out/bin/pixeluvo \
44 --prefix LD_LIBRARY_PATH : ${libPath}
50 description = "Beautifully Designed Image and Photo Editor for Windows and Linux";
51 homepage = "http://www.pixeluvo.com/";
52 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
53 license = licenses.unfree;
54 platforms = [ "x86_64-linux" ];
56 mainProgram = "pixeluvo";