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

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

  buildInputs = [ libdvdread ];
  nativeBuildInputs = [ pkgconfig ];

  meta = with stdenv.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;
  };
}