f3ed511b44
Semi-automatic update. These checks were performed: - built on NixOS - found 23 with grep in /nix/store/fwi1kp97s2smbwf5ir9jrykf6427i4n6-media-player-info-23 - found 23 in filename of file in /nix/store/fwi1kp97s2smbwf5ir9jrykf6427i4n6-media-player-info-23
33 lines
896 B
Nix
33 lines
896 B
Nix
{ stdenv, fetchurl, pkgconfig, python3, udev, systemd }:
|
|
|
|
let
|
|
name = "media-player-info-23";
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "https://www.freedesktop.org/software/media-player-info/${name}.tar.gz";
|
|
sha256 = "1jy8xh4xjgjc4wj4qrw6sx2j3606zsj4bgiczhzf3xlpnkh6vax9";
|
|
};
|
|
|
|
buildInputs = [ udev systemd ];
|
|
nativeBuildInputs = [ pkgconfig python3 ];
|
|
|
|
postPatch = ''
|
|
patchShebangs ./tools
|
|
'';
|
|
|
|
preConfigure = ''
|
|
configureFlags="$configureFlags --with-udevdir=$out/lib/udev"
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A repository of data files describing media player capabilities";
|
|
homepage = https://www.freedesktop.org/wiki/Software/media-player-info/;
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ttuegel ];
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|