pixeluvo: init at 1.6.0-2

+57
+55
pkgs/applications/graphics/pixeluvo/default.nix
···
··· 1 + { lib, stdenv, fetchurl, dpkg, autoPatchelfHook, makeWrapper 2 + , gtk3-x11 }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "pixeluvo"; 6 + version = "1.6.0-2"; 7 + 8 + src = fetchurl { 9 + url = "http://www.pixeluvo.com/downloads/${pname}_${version}_amd64.deb"; 10 + sha256 = "sha256-QYSuD6o3kHg0DrFihYEcf9e3b8U1bu4Zf78+Akmm8yo="; 11 + }; 12 + 13 + nativeBuildInputs = [ 14 + dpkg 15 + makeWrapper 16 + autoPatchelfHook 17 + ]; 18 + 19 + buildInputs = [ 20 + gtk3-x11 21 + stdenv.cc.cc 22 + ]; 23 + 24 + libPath = lib.makeLibraryPath buildInputs; 25 + 26 + dontBuild = true; 27 + dontConfigure = true; 28 + 29 + unpackPhase = '' 30 + dpkg-deb -x ${src} ./ 31 + ''; 32 + 33 + installPhase = '' 34 + runHook preInstall 35 + 36 + mv usr $out 37 + mv opt $out 38 + install -Dm644 $out/opt/pixeluvo/pixeluvo.png -t $out/share/pixmaps/ 39 + 40 + substituteInPlace $out/share/applications/pixeluvo.desktop \ 41 + --replace '/opt/pixeluvo/pixeluvo.png' pixeluvo 42 + 43 + makeWrapper $out/opt/pixeluvo/bin/Pixeluvo64 $out/bin/pixeluvo \ 44 + --prefix LD_LIBRARY_PATH : ${libPath} 45 + 46 + runHook postInstall 47 + ''; 48 + 49 + meta = with lib; { 50 + description = "A Beautifully Designed Image and Photo Editor for Windows and Linux"; 51 + homepage = "http://www.pixeluvo.com/"; 52 + license = licenses.unfree; 53 + maintainers = with maintainers; [ wolfangaukang ]; 54 + }; 55 + }
+2
pkgs/top-level/all-packages.nix
··· 25655 25656 pixelnuke = callPackage ../applications/graphics/pixelnuke { }; 25657 25658 pmbootstrap = python3Packages.callPackage ../tools/misc/pmbootstrap { }; 25659 25660 shepherd = nodePackages."@nerdwallet/shepherd";
··· 25655 25656 pixelnuke = callPackage ../applications/graphics/pixelnuke { }; 25657 25658 + pixeluvo = callPackage ../applications/graphics/pixeluvo { }; 25659 + 25660 pmbootstrap = python3Packages.callPackage ../tools/misc/pmbootstrap { }; 25661 25662 shepherd = nodePackages."@nerdwallet/shepherd";