summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/mkcue/default.nix
blob: 596164f13ffa6607a876ad031cd5581501f4d75d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ lib, stdenv, fetchurl }:

stdenv.mkDerivation rec {
  pname = "mkcue";
  version = "1";

  src = fetchurl {
    url = "http://http.debian.net/debian/pool/main/m/mkcue/mkcue_${version}.orig.tar.gz";
    sha256 = "0rs897wp08z4hd904bjb5sl4lb8qxj82x5ayklr28bhg9pd5gbra";
  };

  preInstall = "mkdir -pv $out/bin";
  postInstall = "chmod -v +w $out/bin/mkcue";

  meta = with lib; {
    description = "Generates CUE sheets from a CD TOC";
    license = licenses.lgpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ pSub ];
  };
}