Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 46 lines 808 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoconf, 6 automake, 7 pkg-config, 8 gtk2, 9 libjack2, 10 libsndfile, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "timemachine"; 15 version = "0.3.4"; 16 src = fetchFromGitHub { 17 owner = "swh"; 18 repo = "timemachine"; 19 rev = "v${version}"; 20 sha256 = "16fgyw6jnscx9279dczv72092dddghwlp53rkfw469kcgvjhwx0z"; 21 }; 22 23 nativeBuildInputs = [ 24 pkg-config 25 autoconf 26 automake 27 ]; 28 buildInputs = [ 29 gtk2 30 libjack2 31 libsndfile 32 ]; 33 34 preConfigure = "./autogen.sh"; 35 36 NIX_LDFLAGS = "-lm"; 37 38 meta = { 39 description = "JACK audio recorder"; 40 homepage = "http://plugin.org.uk/timemachine/"; 41 license = lib.licenses.lgpl2; 42 platforms = lib.platforms.linux; 43 maintainers = [ lib.maintainers.nico202 ]; 44 mainProgram = "timemachine"; 45 }; 46}