nixpkgs/pkgs/development/libraries/libcdaudio/default.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

20 lines
518 B
Nix

{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
pname = "libcdaudio";
version = "0.99.12p2";
src = fetchurl {
url = "mirror://sourceforge/libcdaudio/libcdaudio-${version}.tar.gz";
sha256 = "1fsy6dlzxrx177qc877qhajm9l4g28mvh06h2l15rxy4bapzknjz" ;
};
meta = {
description = "A portable library for controlling audio CDs";
mainProgram = "libcdaudio-config";
homepage = "https://libcdaudio.sourceforge.net";
platforms = lib.platforms.linux;
license = lib.licenses.lgpl2;
};
}