nixpkgs/pkgs/by-name/cy/cyanrip/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

47 lines
822 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, ffmpeg-headless
, libcdio
, libcdio-paranoia
, libmusicbrainz5
, curl
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cyanrip";
version = "0.9.2";
src = fetchFromGitHub {
owner = "cyanreg";
repo = "cyanrip";
rev = "v${finalAttrs.version}";
hash = "sha256-sWgHf8S4GZDAIvMUf5KvGy2y0JcUbRS53IjArdgokqc=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
ffmpeg-headless
libcdio
libcdio-paranoia
libmusicbrainz5
curl
];
meta = with lib; {
homepage = "https://github.com/cyanreg/cyanrip";
description = "Bule-ish CD ripper";
mainProgram = "cyanrip";
license = licenses.lgpl21Plus;
platforms = platforms.all;
maintainers = [ maintainers.zane ];
};
})