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

let
  version = "0.17";
in
stdenv.mkDerivation {
  pname = "lsdvd";
  inherit version;
  src = fetchurl {
    url = "mirror://sourceforge/lsdvd/lsdvd-${version}.tar.gz";
    sha256 = "1274d54jgca1prx106iyir7200aflr70bnb1kawndlmcckcmnb3x";
  };

  buildInputs = [ libdvdread ];
  nativeBuildInputs = [ pkg-config ];

  meta = with lib; {
    homepage = "https://sourceforge.net/projects/lsdvd/";
    description = "Display information about audio, video, and subtitle tracks on a DVD";
    license = licenses.gpl2;
    platforms = platforms.linux;
  };
}