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