nixpkgs/pkgs/applications/audio/timemachine/default.nix

35 lines
765 B
Nix
Raw Normal View History

2016-02-12 19:49:26 +00:00
{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, gtk2
, libjack2, libsndfile
}:
stdenv.mkDerivation rec {
2019-04-29 21:52:01 +00:00
pname = "timemachine";
version = "0.3.3";
2016-02-12 19:49:26 +00:00
src = fetchFromGitHub {
owner = "swh";
repo = "timemachine";
2019-04-29 21:52:01 +00:00
rev = "v${version}";
sha256 = "1jsvd29wiqigxyqxl2xjklla11fwyjy68vqivcnlr9f2af4ylym8";
2016-02-12 19:49:26 +00:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake gtk2 libjack2
2016-02-12 19:49:26 +00:00
libsndfile
];
preConfigure = "./autogen.sh";
2019-01-04 19:33:51 +00:00
NIX_LDFLAGS = [
"-lm"
];
2016-02-12 19:49:26 +00:00
meta = {
description = "JACK audio recorder";
homepage = http://plugin.org.uk/timemachine/;
license = stdenv.lib.licenses.lgpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.nico202 ];
};
}