dirt: include sound samples (close #8179)

also add self as maintainer
This commit is contained in:
Anders Papitto 2015-06-04 13:01:01 -07:00 committed by Vladimír Čunát
parent b9de32de5b
commit 50e9fa5719
2 changed files with 11 additions and 2 deletions

View file

@ -16,6 +16,7 @@
amiddelk = "Arie Middelkoop <amiddelk@gmail.com>";
amorsillo = "Andrew Morsillo <andrew.morsillo@gmail.com>";
AndersonTorres = "Anderson Torres <torres.anderson.85@gmail.com>";
anderspapitto = "Anders Papitto <anderspapitto@gmail.com>";
andres = "Andres Loeh <ksnixos@andres-loeh.de>";
antono = "Antono Vasiljev <self@antono.info>";
ardumont = "Antoine R. Dumont <eniotna.t@gmail.com>";

View file

@ -9,13 +9,21 @@ stdenv.mkDerivation rec {
sha256 = "1shbyp54q64g6bsl6hhch58k3z1dyyy9ph6cq2xvdf8syy00sisz";
};
buildInputs = [ libsndfile libsamplerate liblo jack2 ];
postPatch = ''
sed -i "s|./samples|$out/share/dirt/samples|" file.h
'';
configurePhase = ''
export DESTDIR=$out
'';
postInstall = ''
mkdir -p $out/share/dirt/
cp -r samples $out/share/dirt/
'';
meta = {
meta = with stdenv.lib; {
description = "An unimpressive thingie for playing bits of samples with some level of accuracy";
homepage = "https://github.com/tidalcycles/Dirt";
license = stdenv.lib.licenses.gpl3;
license = licenses.gpl3;
maintainers = with maintainers; [ anderspapitto ];
};
}