@@ -0,0 +1,21 @@
1+{ stdenv, fetchFromGitHub, libsndfile, libsamplerate, liblo, jack2 }:
2+
3+stdenv.mkDerivation rec {
4+ name = "dirt-git";
5+ src = fetchFromGitHub {
6+ repo = "Dirt";
7+ owner = "tidalcycles";
8+ rev = "cfc5e85318defda7462192b5159103c823ce61f7";
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+}