about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libviperfx/default.nix
blob: 580329754b668d1d606e5a42ee442e31b05b45e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "libviperfx";
  version = "unstable-2018-01-15";

  src = fetchFromGitHub {
    owner = "vipersaudio";
    repo = "viperfx_core_binary";
    rev = "6f7d0da725affe854f083baf5d90c70e172e4488";
    sha256 = "sha256-hfX46Kk91eQgiO3uhew91I6eEHxazhdGwSkhfNZ+HvQ=";
  };

  dontBuild = true;

  installPhase = ''
    runHook preInstall
    install -D libviperfx_x64_linux.so $out/lib/libviperfx.so
    install -D README.md $out/share/licenses/libviperfx/LICENSE
    runHook postInstall
  '';

  meta = with lib; {
    homepage = "https://github.com/vipersaudio/viperfx_core_binary";
    description = "The ViPER FX core";
    license = licenses.unfreeRedistributable;
    maintainers = with maintainers; [ rewine ];
    platforms = [ "x86_64-linux" ];
    sourceProvenance = with sourceTypes; [ binaryNativeCode ];
  };
}