From 95b13b1155021303f42d084224b33d7381c307e3 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 21 Feb 2015 10:56:38 -0600 Subject: [PATCH] add media-player-info --- pkgs/data/misc/media-player-info/default.nix | 28 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/data/misc/media-player-info/default.nix diff --git a/pkgs/data/misc/media-player-info/default.nix b/pkgs/data/misc/media-player-info/default.nix new file mode 100644 index 00000000000..373e7504ead --- /dev/null +++ b/pkgs/data/misc/media-player-info/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, pkgconfig, python3, udev }: + +let + name = "media-player-info-22"; +in + + stdenv.mkDerivation { + inherit name; + + src = fetchurl { + url = "http://www.freedesktop.org/software/media-player-info/${name}.tar.gz"; + sha256 = "0di3gfx5z8c34yspzyllydr5snzg71r985kbqhrhb1il51qxgrvy"; + }; + + buildInputs = [ udev ]; + nativeBuildInputs = [ pkgconfig python3 ]; + + preConfigure = '' + configureFlags="$configureFlags --with-udevdir=$out/lib/udev" + ''; + + meta = with stdenv.lib; { + description = "A repository of data files describing media player capabilities"; + homepage = "http://www.freedesktop.org/wiki/Software/media-player-info/"; + license = with licenses; [ bsd3 ]; + maintainer = with maintainers; [ ttuegel ]; + }; + } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5882bb6d16e..894587ed2f9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9450,6 +9450,8 @@ let miscfiles = callPackage ../data/misc/miscfiles { }; + media-player-info = callPackage ../data/misc/media-player-info {}; + mobile_broadband_provider_info = callPackage ../data/misc/mobile-broadband-provider-info { }; mph_2b_damase = callPackage ../data/fonts/mph-2b-damase { };