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

33 lines
742 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoconf, automake, pkg-config, gtk2
2016-02-12 19:49:26 +00:00
, libjack2, libsndfile
}:
stdenv.mkDerivation rec {
2019-04-29 22:52:01 +01:00
pname = "timemachine";
2019-12-24 18:37:16 +00:00
version = "0.3.4";
2016-02-12 19:49:26 +00:00
src = fetchFromGitHub {
owner = "swh";
repo = "timemachine";
2019-04-29 22:52:01 +01:00
rev = "v${version}";
2019-12-24 18:37:16 +00:00
sha256 = "16fgyw6jnscx9279dczv72092dddghwlp53rkfw469kcgvjhwx0z";
2016-02-12 19:49:26 +00:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ autoconf automake gtk2 libjack2
2016-02-12 19:49:26 +00:00
libsndfile
];
preConfigure = "./autogen.sh";
2019-10-30 11:34:47 +00:00
NIX_LDFLAGS = "-lm";
2019-01-04 19:33:51 +00:00
2016-02-12 19:49:26 +00:00
meta = {
description = "JACK audio recorder";
homepage = "http://plugin.org.uk/timemachine/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.lgpl2;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nico202 ];
2016-02-12 19:49:26 +00:00
};
}