forked from mirrors/nixpkgs
aff1f4ab94
The following parameters are now available: * hardeningDisable To disable specific hardening flags * hardeningEnable To enable specific hardening flags Only the cc-wrapper supports this right now, but these may be reused by other wrappers, builders or setup hooks. cc-wrapper supports the following flags: * fortify * stackprotector * pie (disabled by default) * pic * strictoverflow * format * relro * bindnow
31 lines
785 B
Nix
31 lines
785 B
Nix
{ stdenv, fetchurl, libjack2, libsndfile, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "jack_capture-${version}";
|
|
version = "0.9.69";
|
|
|
|
src = fetchurl {
|
|
url = "http://archive.notam02.no/arkiv/src/${name}.tar.gz";
|
|
sha256 = "0sk7b92my1v1g7rhkpl1c608rb0rdb28m9zqfll95kflxajd16zv";
|
|
};
|
|
|
|
buildInputs = [ libjack2 libsndfile pkgconfig ];
|
|
|
|
buildPhase = "PREFIX=$out make jack_capture";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp jack_capture $out/bin/
|
|
'';
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A program for recording soundfiles with jack";
|
|
homepage = http://archive.notam02.no/arkiv/src;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|