dirt: include sound samples (close #8179)

also add self as maintainer

authored by

Anders Papitto and committed by
Vladimír Čunát
50e9fa57 b9de32de

+11 -2
+1
lib/maintainers.nix
··· 16 amiddelk = "Arie Middelkoop <amiddelk@gmail.com>"; 17 amorsillo = "Andrew Morsillo <andrew.morsillo@gmail.com>"; 18 AndersonTorres = "Anderson Torres <torres.anderson.85@gmail.com>"; 19 andres = "Andres Loeh <ksnixos@andres-loeh.de>"; 20 antono = "Antono Vasiljev <self@antono.info>"; 21 ardumont = "Antoine R. Dumont <eniotna.t@gmail.com>";
··· 16 amiddelk = "Arie Middelkoop <amiddelk@gmail.com>"; 17 amorsillo = "Andrew Morsillo <andrew.morsillo@gmail.com>"; 18 AndersonTorres = "Anderson Torres <torres.anderson.85@gmail.com>"; 19 + anderspapitto = "Anders Papitto <anderspapitto@gmail.com>"; 20 andres = "Andres Loeh <ksnixos@andres-loeh.de>"; 21 antono = "Antono Vasiljev <self@antono.info>"; 22 ardumont = "Antoine R. Dumont <eniotna.t@gmail.com>";
+10 -2
pkgs/applications/audio/dirt/default.nix
··· 9 sha256 = "1shbyp54q64g6bsl6hhch58k3z1dyyy9ph6cq2xvdf8syy00sisz"; 10 }; 11 buildInputs = [ libsndfile libsamplerate liblo jack2 ]; 12 configurePhase = '' 13 export DESTDIR=$out 14 ''; 15 16 - meta = { 17 description = "An unimpressive thingie for playing bits of samples with some level of accuracy"; 18 homepage = "https://github.com/tidalcycles/Dirt"; 19 - license = stdenv.lib.licenses.gpl3; 20 }; 21 }
··· 9 sha256 = "1shbyp54q64g6bsl6hhch58k3z1dyyy9ph6cq2xvdf8syy00sisz"; 10 }; 11 buildInputs = [ libsndfile libsamplerate liblo jack2 ]; 12 + postPatch = '' 13 + sed -i "s|./samples|$out/share/dirt/samples|" file.h 14 + ''; 15 configurePhase = '' 16 export DESTDIR=$out 17 ''; 18 + postInstall = '' 19 + mkdir -p $out/share/dirt/ 20 + cp -r samples $out/share/dirt/ 21 + ''; 22 23 + meta = with stdenv.lib; { 24 description = "An unimpressive thingie for playing bits of samples with some level of accuracy"; 25 homepage = "https://github.com/tidalcycles/Dirt"; 26 + license = licenses.gpl3; 27 + maintainers = with maintainers; [ anderspapitto ]; 28 }; 29 }