Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / libviperfx / default.nix
blob580329754b668d1d606e5a42ee442e31b05b45e2
1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "libviperfx";
5   version = "unstable-2018-01-15";
7   src = fetchFromGitHub {
8     owner = "vipersaudio";
9     repo = "viperfx_core_binary";
10     rev = "6f7d0da725affe854f083baf5d90c70e172e4488";
11     sha256 = "sha256-hfX46Kk91eQgiO3uhew91I6eEHxazhdGwSkhfNZ+HvQ=";
12   };
14   dontBuild = true;
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   '';
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   };