nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 autoreconfHook,
6}:
7
8stdenv.mkDerivation rec {
9 pname = "shine";
10 version = "3.1.1";
11
12 src = fetchFromGitHub {
13 owner = "toots";
14 repo = "shine";
15 rev = version;
16 sha256 = "06nwylqqji0i1isdprm2m5qsdj4qiywcgnp69c5b55pnw43f07qg";
17 };
18
19 nativeBuildInputs = [ autoreconfHook ];
20
21 meta = with lib; {
22 description = "Fast fixed-point mp3 encoding library";
23 mainProgram = "shineenc";
24 homepage = "https://github.com/toots/shine";
25 license = licenses.lgpl2Only;
26 maintainers = with maintainers; [ dandellion ];
27 };
28}