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

35 lines
765 B
Nix
Raw Normal View History

2016-02-12 20:49:26 +01:00
{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, gtk2
, libjack2, libsndfile
}:
stdenv.mkDerivation rec {
2019-04-29 23:52:01 +02:00
pname = "timemachine";
version = "0.3.3";
2016-02-12 20:49:26 +01:00
src = fetchFromGitHub {
owner = "swh";
repo = "timemachine";
2019-04-29 23:52:01 +02:00
rev = "v${version}";
sha256 = "1jsvd29wiqigxyqxl2xjklla11fwyjy68vqivcnlr9f2af4ylym8";
2016-02-12 20:49:26 +01:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake gtk2 libjack2
2016-02-12 20:49:26 +01:00
libsndfile
];
preConfigure = "./autogen.sh";
2019-01-04 20:33:51 +01:00
NIX_LDFLAGS = [
"-lm"
];
2016-02-12 20:49:26 +01: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 ];
};
}