nixos-configuration/pkgs/tap-plugins/default.nix
2021-03-24 01:18:18 +01:00

32 lines
579 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, patchelf
, pkgs
}:
stdenv.mkDerivation rec {
pname = "tap-plugins";
version = "1.0.1";
# nix-prefetch-github tomszilagyi tap-plugins --rev v1.0.1
src = fetchFromGitHub {
owner = "tomszilagyi";
repo = "tap-plugins";
rev = "v${version}";
sha256 = "0c6qhyf8smlypc36vmpr42dm3mrzk6pg9cc9r0vx22qbrd5zfpjw";
};
nativeBuildInputs = [
patchelf
];
installPhase = ''
runHook perInstall
make install INSTALL_PLUGINS_DIR=$out/lib/ladspa INSTALL_LRDF_DIR=$out/share/ladspa/rdf
runHook postInstall
'';
}