diff --git a/cyanrip/default.nix b/cyanrip/default.nix new file mode 100644 index 0000000..862b5c5 --- /dev/null +++ b/cyanrip/default.nix @@ -0,0 +1,35 @@ +{ lib +, stdenv +, fetchFromGitHub +, meson +, ninja +, pkg-config +, ffmpeg +, libcdio +, libcdio-paranoia +, curl +, libmusicbrainz5 +}: + +stdenv.mkDerivation rec { + pname = "cyanrip"; + version = "0.7.0"; + + src = fetchFromGitHub { + owner = "cyanreg"; + repo = pname; + rev = "v${version}"; + sha256 = "0lgb92sfpf4w3nj5vlj6j7931mj2q3cmcx1app9snf853jk9ahmw"; + }; + + nativeBuildInputs = [ meson ninja pkg-config ]; + buildInputs = [ ffmpeg libcdio libcdio-paranoia curl libmusicbrainz5 ]; + + meta = with lib; { + description = "Fully featured CD ripping program able to take out most of the tedium"; + homepage = "https://github.com/cyanreg/cyanrip"; + license = with licenses; [ lgpl21Plus lgpl3Plus ]; # some files have lgpl21Plus header, repo has lgpl3Plus LICENSE + maintainers = with maintainers; [ sbruder ]; + platforms = platforms.unix; + }; +} diff --git a/flake.nix b/flake.nix index 2b426cf..dcad84d 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,8 @@ }; python3Packages = prev.recurseIntoAttrs final.python3.pkgs; + cyanrip = callPackage ./cyanrip { }; + deemix = callPythonPackage ./deemix { }; textidote = callPackage ./textidote { }; @@ -53,6 +55,7 @@ (n: v: lib.elem system v.meta.platforms) { inherit (pkgs) + cyanrip deemix textidote VisiCut;