SunVox: init at 1.9.3b
This commit is contained in:
parent
b980675107
commit
480f04301a
pkgs
48
pkgs/applications/audio/sunvox/default.nix
Normal file
48
pkgs/applications/audio/sunvox/default.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ stdenv, fetchurl, unzip, alsaLib, libX11, libXi, SDL2 }:
|
||||||
|
|
||||||
|
let
|
||||||
|
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc alsaLib libX11 libXi SDL2 ];
|
||||||
|
arch =
|
||||||
|
if stdenv.isAarch64
|
||||||
|
then "arm64"
|
||||||
|
else if stdenv.isArm
|
||||||
|
then "arm_armhf_raspberry_pi"
|
||||||
|
else if stdenv.is64bit
|
||||||
|
then "x86_64"
|
||||||
|
else "x86";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "SunVox-${version}";
|
||||||
|
version = "1.9.3b";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.warmplace.ru/soft/sunvox/sunvox-${version}.zip";
|
||||||
|
sha256 = "0k74rcq7niw4p17vj3zp9lpgi932896dmzqv4ln43g0pz7l18c8b";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
|
unpackPhase = "unzip $src";
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share $out/bin
|
||||||
|
mv sunvox $out/share/
|
||||||
|
|
||||||
|
bin="$out/share/sunvox/sunvox/linux_${arch}/sunvox"
|
||||||
|
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
|
--set-rpath "${libPath}" \
|
||||||
|
"$bin"
|
||||||
|
|
||||||
|
ln -s "$bin" $out/bin/sunvox
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Small, fast and powerful modular synthesizer with pattern-based sequencer";
|
||||||
|
license = licenses.unfreeRedistributable;
|
||||||
|
homepage = "http://www.warmplace.ru/soft/sunvox/";
|
||||||
|
maintainers = with maintainers; [ puffnfresh ];
|
||||||
|
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
@ -17054,6 +17054,8 @@ with pkgs;
|
|||||||
|
|
||||||
surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; };
|
surf = callPackage ../applications/networking/browsers/surf { gtk = gtk2; };
|
||||||
|
|
||||||
|
sunvox = callPackage ../applications/audio/sunvox { };
|
||||||
|
|
||||||
swh_lv2 = callPackage ../applications/audio/swh-lv2 { };
|
swh_lv2 = callPackage ../applications/audio/swh-lv2 { };
|
||||||
|
|
||||||
sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { };
|
sylpheed = callPackage ../applications/networking/mailreaders/sylpheed { };
|
||||||
|
Loading…
Reference in New Issue
Block a user