blob: 149d370ba49587788c4248385ff8b644635d6574 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, ffmpeg-headless
, libcdio
, libcdio-paranoia
, libmusicbrainz5
, curl
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cyanrip";
version = "0.9.3.1";
src = fetchFromGitHub {
owner = "cyanreg";
repo = "cyanrip";
rev = "v${finalAttrs.version}";
hash = "sha256-GAPHsYQYJQOBV4ok7omqhiDPKX+VC4Bw3Msb3pd8Zo8=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
ffmpeg-headless
libcdio
libcdio-paranoia
libmusicbrainz5
curl
];
meta = with lib; {
homepage = "https://github.com/cyanreg/cyanrip";
changelog = "https://github.com/cyanreg/cyanrip/releases/tag/${finalAttrs.src.rev}";
description = "Bule-ish CD ripper";
mainProgram = "cyanrip";
license = licenses.lgpl21Plus;
platforms = platforms.all;
maintainers = [ maintainers.zane ];
};
})
|