Files
nixpkgs/pkgs/by-name/ds/dsf2flac/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

55 lines
977 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
boost,
flac,
id3lib,
pkg-config,
taglib,
zlib,
}:
stdenv.mkDerivation {
pname = "dsf2flac";
version = "0-unstable-2025-01-31";
src = fetchFromGitHub {
owner = "hank";
repo = "dsf2flac";
rev = "39d43901ce27d0cc53b5a4eb277a65082e9906f0";
hash = "sha256-I8BupNE49+9oExR/GhoZUVbCHhDJEz3hhvQnbi8ZVGs=";
};
buildInputs = [
boost
flac
id3lib
taglib
zlib
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
enableParallelBuilding = true;
preConfigure = ''
export LIBS="$LIBS -lz -lboost_timer"
'';
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
meta = {
description = "DSD to FLAC transcoding tool";
homepage = "https://github.com/hank/dsf2flac";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ artemist ];
platforms = [ "x86_64-linux" ];
mainProgram = "dsf2flac";
};
}