mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
dirt: 2015-04-28 -> 2018-01-01
This commit is contained in:
parent
ac4a225488
commit
638c01773d
@ -1,19 +1,20 @@
|
|||||||
{ stdenv, fetchFromGitHub, libsndfile, libsamplerate, liblo, libjack2 }:
|
{ stdenv, fetchFromGitHub, libsndfile, libsamplerate, liblo, libjack2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "dirt-2015-04-28";
|
name = "dirt-2018-01-01";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
repo = "Dirt";
|
repo = "Dirt";
|
||||||
owner = "tidalcycles";
|
owner = "tidalcycles";
|
||||||
rev = "cfc5e85318defda7462192b5159103c823ce61f7";
|
rev = "b09604c7d8e581bc7799d7e2ad293e7cdd254bda";
|
||||||
sha256 = "1shbyp54q64g6bsl6hhch58k3z1dyyy9ph6cq2xvdf8syy00sisz";
|
sha256 = "13adglk2d31d7mswfvi02b0rjdhzmsv11cc8smhidmrns3f9s96n";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
buildInputs = [ libsndfile libsamplerate liblo libjack2 ];
|
buildInputs = [ libsndfile libsamplerate liblo libjack2 ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -i "s|./samples|$out/share/dirt/samples|" file.h
|
sed -i "s|./samples|$out/share/dirt/samples|" dirt.c
|
||||||
'';
|
'';
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
export DESTDIR=$out
|
export PREFIX=$out
|
||||||
'';
|
'';
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/share/dirt/
|
mkdir -p $out/share/dirt/
|
||||||
|
Loading…
Reference in New Issue
Block a user