1{
2 lib,
3 stdenv,
4 fetchurl,
5 libdvdread,
6 pkg-config,
7}:
8
9stdenv.mkDerivation rec {
10 pname = "lsdvd";
11 version = "0.17";
12 src = fetchurl {
13 url = "mirror://sourceforge/lsdvd/lsdvd-${version}.tar.gz";
14 sha256 = "1274d54jgca1prx106iyir7200aflr70bnb1kawndlmcckcmnb3x";
15 };
16
17 buildInputs = [ libdvdread ];
18 nativeBuildInputs = [ pkg-config ];
19
20 meta = with lib; {
21 homepage = "https://sourceforge.net/projects/lsdvd/";
22 description = "Display information about audio, video, and subtitle tracks on a DVD";
23 license = licenses.gpl2Only;
24 platforms = platforms.linux;
25 mainProgram = "lsdvd";
26 };
27}