Unverified Commit cbfb263c authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

dsf2flac: fix build, clean up & unstable-2021-07-31 -> unstable-2025-01-31 (#414926)

parents 18fbda0d 4285cec6
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -13,13 +13,13 @@

stdenv.mkDerivation {
  pname = "dsf2flac";
  version = "unstable-2021-07-31";
  version = "0-unstable-2025-01-31";

  src = fetchFromGitHub {
    owner = "hank";
    repo = "dsf2flac";
    rev = "6b109cd276ec7c7901f96455c77cf2d2ebfbb181";
    sha256 = "sha256-VlXfywgYhI2QuGQvpD33BspTTgT0jOKUV3gENq4HiBU=";
    rev = "39d43901ce27d0cc53b5a4eb277a65082e9906f0";
    hash = "sha256-I8BupNE49+9oExR/GhoZUVbCHhDJEz3hhvQnbi8ZVGs=";
  };

  buildInputs = [
@@ -38,16 +38,16 @@ stdenv.mkDerivation {
  enableParallelBuilding = true;

  preConfigure = ''
    export LIBS="$LIBS -lz"
    export LIBS="$LIBS -lz -lboost_timer"
  '';

  configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];

  meta = with lib; {
  meta = {
    description = "DSD to FLAC transcoding tool";
    homepage = "https://github.com/hank/dsf2flac";
    license = licenses.gpl2;
    maintainers = with maintainers; [ artemist ];
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ artemist ];
    platforms = [ "x86_64-linux" ];
    mainProgram = "dsf2flac";
  };