2015-10-04 11:59:15 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, python3, udev, systemd }:
|
2015-02-21 17:56:38 +01:00
|
|
|
|
|
|
|
let
|
2018-02-27 15:02:57 +01:00
|
|
|
name = "media-player-info-23";
|
2015-02-21 17:56:38 +01:00
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-27 15:02:57 +01:00
|
|
|
url = "https://www.freedesktop.org/software/media-player-info/${name}.tar.gz";
|
|
|
|
sha256 = "1jy8xh4xjgjc4wj4qrw6sx2j3606zsj4bgiczhzf3xlpnkh6vax9";
|
2015-02-21 17:56:38 +01:00
|
|
|
};
|
|
|
|
|
2015-10-04 11:59:15 +02:00
|
|
|
buildInputs = [ udev systemd ];
|
2015-02-21 17:56:38 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig python3 ];
|
|
|
|
|
2015-02-25 19:07:37 +01:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs ./tools
|
|
|
|
'';
|
|
|
|
|
2015-02-21 17:56:38 +01:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="$configureFlags --with-udevdir=$out/lib/udev"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A repository of data files describing media player capabilities";
|
2018-02-27 15:02:57 +01:00
|
|
|
homepage = https://www.freedesktop.org/wiki/Software/media-player-info/;
|
2015-05-28 19:20:29 +02:00
|
|
|
license = licenses.bsd3;
|
2016-02-10 14:59:36 +01:00
|
|
|
maintainers = with maintainers; [ ttuegel ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = with platforms; linux;
|
2015-02-21 17:56:38 +01:00
|
|
|
};
|
|
|
|
}
|