Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 32 lines 870 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook 2, bison, flac, flex, id3v2, vorbis-tools 3}: 4 5stdenv.mkDerivation rec { 6 pname = "cuetools"; 7 version = "1.4.1"; 8 9 src = fetchFromGitHub { 10 owner = "svend"; 11 repo = pname; 12 rev = version; 13 sha256 = "02ksv1ahf1v4cr2xbclsfv5x17m9ivzbssb5r8xjm97yh8a7spa3"; 14 }; 15 16 nativeBuildInputs = [ autoreconfHook ]; 17 18 buildInputs = [ bison flac flex id3v2 vorbis-tools ]; 19 20 postInstall = '' 21 # add link for compatibility with Debian-based distros, which package `cuetag.sh` as `cuetag` 22 ln -s $out/bin/cuetag.sh $out/bin/cuetag 23 ''; 24 25 meta = with lib; { 26 description = "A set of utilities for working with cue files and toc files"; 27 homepage = "https://github.com/svend/cuetools"; 28 license = licenses.gpl2; 29 maintainers = with maintainers; [ codyopel jcumming ]; 30 platforms = platforms.all; 31 }; 32}