mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
839 B
Nix
28 lines
839 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 = "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;
|
|
};
|
|
}
|