git.iko.soy/typeable/nixpkgs
on master help sign in
dsf2flac: init at 0.1Rev54
commitd557de50338ea872e4223da749bc8271fca12c98 authorDominik Michael Rauh <dmrauh@posteo.de> dateMon 2 Dec 2019, 18:45 (7 years ago) parentbfcead1
2 files changed+36
pkgs/applications/audio/dsf2flac/default.nix+34 pkgs/top-level/all-packages.nix+2
pkgs/applications/audio/dsf2flac/default.nixnew file+34
@@ -0,0 +1,34 @@
1+{ stdenv, fetchFromGitHub, autoreconfHook, boost, flac, id3lib, pkg-config
2+, taglib, zlib }:
3+
4+stdenv.mkDerivation rec {
5+ pname = "dsf2flac";
6+ version = "unstable-2018-01-02";
7+
8+ src = fetchFromGitHub {
9+ owner = "hank";
10+ repo = pname;
11+ rev = "b0cf5aa6ddc60df9bbfeed25548e443c99f5cb16";
12+ sha256 = "15j5f82v7lgs0fkgyyynl82cb1rsxyr9vw3bpzra63nacbi9g8lc";
13+ };
14+
15+ buildInputs = [ boost flac id3lib taglib zlib ];
16+
17+ nativeBuildInputs = [ autoreconfHook pkg-config ];
18+
19+ enableParallelBuilding = true;
20+
21+ preConfigure = ''
22+ export LIBS="$LIBS -lz"
23+ '';
24+
25+ configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ];
26+
27+ meta = with stdenv.lib; {
28+ description = "A DSD to FLAC transcoding tool";
29+ homepage = "https://github.com/hank/dsf2flac";
30+ license = licenses.gpl2;
31+ maintainers = with maintainers; [ dmrauh ];
32+ platforms = with platforms; linux;
33+ };
34+}
pkgs/top-level/all-packages.nix+2
@@ -19225,6 +19225,8 @@ in
1922519225
1922619226 drumgizmo = callPackage ../applications/audio/drumgizmo { };
1922719227
19228+ dsf2flac = callPackage ../applications/audio/dsf2flac { };
19229+
1922819230 dunst = callPackage ../applications/misc/dunst { };
1922919231
1923019232 du-dust = callPackage ../tools/misc/dust { };