1 { lib, stdenv, fetchFromGitHub, autoreconfHook, boost, flac, id3lib, pkg-config
4 stdenv.mkDerivation rec {
6 version = "unstable-2021-07-31";
8 src = fetchFromGitHub {
11 rev = "6b109cd276ec7c7901f96455c77cf2d2ebfbb181";
12 sha256 = "sha256-VlXfywgYhI2QuGQvpD33BspTTgT0jOKUV3gENq4HiBU=";
15 buildInputs = [ boost flac id3lib taglib zlib ];
17 nativeBuildInputs = [ autoreconfHook pkg-config ];
19 enableParallelBuilding = true;
22 export LIBS="$LIBS -lz"
25 configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
28 description = "A DSD to FLAC transcoding tool";
29 homepage = "https://github.com/hank/dsf2flac";
30 license = licenses.gpl2;
31 maintainers = with maintainers; [ artemist ];
32 platforms = [ "x86_64-linux" ];
33 mainProgram = "dsf2flac";