depot/third_party/nixpkgs/pkgs/data/misc/media-player-info/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

28 lines
841 B
Nix

{ lib, stdenv, fetchurl, pkg-config, python3, udev, systemd }:
stdenv.mkDerivation rec {
pname = "media-player-info";
version = "24";
src = fetchurl {
url = "https://www.freedesktop.org/software/media-player-info/${pname}-${version}.tar.gz";
sha256 = "0d0i7av8v369hzvlynwlrbickv1brlzsmiky80lrjgjh1gdldkz6";
};
buildInputs = [ udev systemd ];
nativeBuildInputs = [ pkg-config python3 ];
postPatch = ''
patchShebangs ./tools
'';
configureFlags = [ "--with-udevdir=${placeholder "out"}/lib/udev" ];
meta = with 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;
};
}