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 20:49:26 +01:00
, libjack2, libsndfile
}:
stdenv.mkDerivation rec {
2019-04-29 23:52:01 +02:00
pname = "timemachine";
2019-12-24 19:37:16 +01:00
version = "0.3.4";
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}";
2019-12-24 19:37:16 +01:00
sha256 = "16fgyw6jnscx9279dczv72092dddghwlp53rkfw469kcgvjhwx0z";
2016-02-12 20:49:26 +01:00
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ autoconf automake gtk2 libjack2
2016-02-12 20:49:26 +01:00
libsndfile
];
preConfigure = "./autogen.sh";
2019-10-30 12:34:47 +01:00
NIX_LDFLAGS = "-lm";
2019-01-04 20:33:51 +01:00
2016-02-12 20:49:26 +01:00
meta = {
description = "JACK audio recorder";
homepage = "http://plugin.org.uk/timemachine/";
2021-01-15 14:21:58 +01:00
license = lib.licenses.lgpl2;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nico202 ];
2016-02-12 20:49:26 +01:00
};
}