nixpkgs/pkgs/development/libraries/shine/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

23 lines
574 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "shine";
version = "3.1.1";
src = fetchFromGitHub {
owner = "toots";
repo = "shine";
rev = version;
sha256 = "06nwylqqji0i1isdprm2m5qsdj4qiywcgnp69c5b55pnw43f07qg";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
description = "Fast fixed-point mp3 encoding library";
mainProgram = "shineenc";
homepage = "https://github.com/toots/shine";
license = licenses.lgpl2Only;
maintainers = with maintainers; [ dandellion ];
};
}