1{ lib, stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 pname = "libviperfx";
5 version = "unstable-2018-01-15";
6
7 src = fetchFromGitHub {
8 owner = "vipersaudio";
9 repo = "viperfx_core_binary";
10 rev = "6f7d0da725affe854f083baf5d90c70e172e4488";
11 sha256 = "sha256-hfX46Kk91eQgiO3uhew91I6eEHxazhdGwSkhfNZ+HvQ=";
12 };
13
14 dontBuild = true;
15
16 installPhase = ''
17 runHook preInstall
18 install -D libviperfx_x64_linux.so $out/lib/libviperfx.so
19 install -D README.md $out/share/licenses/libviperfx/LICENSE
20 runHook postInstall
21 '';
22
23 meta = with lib; {
24 homepage = "https://github.com/vipersaudio/viperfx_core_binary";
25 description = "The ViPER FX core";
26 license = licenses.unfreeRedistributable;
27 maintainers = with maintainers; [ rewine ];
28 platforms = [ "x86_64-linux" ];
29 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
30 };
31}