dirt: 2015-04-28 -> 2018-01-01

This commit is contained in:
Brian McKenna 2018-01-01 18:09:46 +11:00
parent ac4a225488
commit 638c01773d

View File

@ -1,19 +1,20 @@
{ stdenv, fetchFromGitHub, libsndfile, libsamplerate, liblo, libjack2 }:
stdenv.mkDerivation rec {
name = "dirt-2015-04-28";
name = "dirt-2018-01-01";
src = fetchFromGitHub {
repo = "Dirt";
owner = "tidalcycles";
rev = "cfc5e85318defda7462192b5159103c823ce61f7";
sha256 = "1shbyp54q64g6bsl6hhch58k3z1dyyy9ph6cq2xvdf8syy00sisz";
rev = "b09604c7d8e581bc7799d7e2ad293e7cdd254bda";
sha256 = "13adglk2d31d7mswfvi02b0rjdhzmsv11cc8smhidmrns3f9s96n";
fetchSubmodules = true;
};
buildInputs = [ libsndfile libsamplerate liblo libjack2 ];
postPatch = ''
sed -i "s|./samples|$out/share/dirt/samples|" file.h
sed -i "s|./samples|$out/share/dirt/samples|" dirt.c
'';
configurePhase = ''
export DESTDIR=$out
export PREFIX=$out
'';
postInstall = ''
mkdir -p $out/share/dirt/