btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / sh / shine / package.nix
blob433e4dcc6179515aea87c197e0f25fbd9e785dbb
1 { lib, stdenv, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "shine";
5   version = "3.1.1";
7   src = fetchFromGitHub {
8     owner = "toots";
9     repo = "shine";
10     rev = version;
11     sha256 = "06nwylqqji0i1isdprm2m5qsdj4qiywcgnp69c5b55pnw43f07qg";
12   };
14   nativeBuildInputs = [ autoreconfHook ];
16   meta = with lib; {
17     description = "Fast fixed-point mp3 encoding library";
18     mainProgram = "shineenc";
19     homepage = "https://github.com/toots/shine";
20     license = licenses.lgpl2Only;
21     maintainers = with maintainers; [ dandellion ];
22   };