Merge pull request #33265 from puffnfresh/package/dirt
dirt: 2015-04-28 -> 2018-01-01
This commit is contained in:
commit
9a8c1b24bc
1 changed files with 6 additions and 7 deletions
|
@ -1,20 +1,19 @@
|
|||
{ 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
|
||||
'';
|
||||
configurePhase = ''
|
||||
export DESTDIR=$out
|
||||
sed -i "s|./samples|$out/share/dirt/samples|" dirt.c
|
||||
'';
|
||||
makeFlags = ["PREFIX=$(out)"];
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/dirt/
|
||||
cp -r samples $out/share/dirt/
|
||||
|
|
Loading…
Reference in a new issue