SunVox: init at 1.9.3b

+50
+48
pkgs/applications/audio/sunvox/default.nix
··· 1 + { stdenv, fetchurl, unzip, alsaLib, libX11, libXi, SDL2 }: 2 + 3 + let 4 + libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc alsaLib libX11 libXi SDL2 ]; 5 + arch = 6 + if stdenv.isAarch64 7 + then "arm64" 8 + else if stdenv.isArm 9 + then "arm_armhf_raspberry_pi" 10 + else if stdenv.is64bit 11 + then "x86_64" 12 + else "x86"; 13 + in 14 + stdenv.mkDerivation rec { 15 + name = "SunVox-${version}"; 16 + version = "1.9.3b"; 17 + 18 + src = fetchurl { 19 + url = "http://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip"; 20 + sha256 = "0k74rcq7niw4p17vj3zp9lpgi932896dmzqv4ln43g0pz7l18c8b"; 21 + }; 22 + 23 + buildInputs = [ unzip ]; 24 + 25 + unpackPhase = "unzip $src"; 26 + 27 + dontBuild = true; 28 + 29 + installPhase = '' 30 + mkdir -p $out/share $out/bin 31 + mv sunvox $out/share/ 32 + 33 + bin="$out/share/sunvox/sunvox/linux_${arch}/sunvox" 34 + patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 35 + --set-rpath "${libPath}" \ 36 + "$bin" 37 + 38 + ln -s "$bin" $out/bin/sunvox 39 + ''; 40 + 41 + meta = with stdenv.lib; { 42 + description = "Small, fast and powerful modular synthesizer with pattern-based sequencer"; 43 + license = licenses.unfreeRedistributable; 44 + homepage = "http://www.warmplace.ru/soft/sunvox/"; 45 + maintainers = with maintainers; [ puffnfresh ]; 46 + platforms = [ "i686-linux" "x86_64-linux" ]; 47 + }; 48 + }
+2
pkgs/top-level/all-packages.nix
··· 17054 17054 17055 17055 surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; }; 17056 17056 17057 + sunvox = callPackage ../applications/audio/sunvox { }; 17058 + 17057 17059 swh_lv2 = callPackage ../applications/audio/swh-lv2 { }; 17058 17060 17059 17061 sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { };