From a20ffe7f0fdf3522c3d27518f38b16e21e681043 Mon Sep 17 00:00:00 2001 From: Brian McKenna Date: Thu, 11 Dec 2014 19:21:01 -0700 Subject: [PATCH 1/2] Add mimms, an mms (e.g. mms://) stream downloader --- pkgs/applications/audio/mimms/default.nix | 31 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/applications/audio/mimms/default.nix diff --git a/pkgs/applications/audio/mimms/default.nix b/pkgs/applications/audio/mimms/default.nix new file mode 100644 index 000000000000..613b1058320e --- /dev/null +++ b/pkgs/applications/audio/mimms/default.nix @@ -0,0 +1,31 @@ +{ fetchurl, stdenv, pythonPackages, libmms }: + +let version = "3.2"; +in + pythonPackages.buildPythonPackage { + name = "mimms-${version}"; + src = fetchurl { + url = "http://download.savannah.gnu.org/releases/mimms/mimms-${version}.tar.bz2"; + sha256 = "0zmcd670mpq85cs3nvdq3i805ba0d1alqahfy1m9cpf7kxrivfml"; + }; + + postInstall = '' + wrapProgram $out/bin/mimms \ + --prefix LD_LIBRARY_PATH : ${libmms}/lib + ''; + + meta = { + homepage = https://savannah.nongnu.org/projects/mimms/; + license = stdenv.lib.licenses.gpl3; + description = "mimms is an mms (e.g. mms://) stream downloader"; + + longDescription = '' + mimms is a program designed to allow you to download streams + using the MMS protocol and save them to your computer, as + opposed to watching them live. Similar functionality is + available in full media player suites such as Xine, MPlayer, + and VLC, but mimms is quick and easy to use and, for the time + being, remains a useful program. + ''; + }; + } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c26ec0890637..e71940cfcecb 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10212,6 +10212,8 @@ let minidjvu = callPackage ../applications/graphics/minidjvu { }; + mimms = callPackage ../applications/audio/mimms {}; + mirage = callPackage ../applications/graphics/mirage {}; mixxx = callPackage ../applications/audio/mixxx { From 8d7f4ae2e8bf234313cc1c15b6a59019260754ed Mon Sep 17 00:00:00 2001 From: Brian McKenna Date: Fri, 12 Dec 2014 09:52:53 -0700 Subject: [PATCH 2/2] Remove mimms name from description --- pkgs/applications/audio/mimms/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/audio/mimms/default.nix b/pkgs/applications/audio/mimms/default.nix index 613b1058320e..b337dbf6d821 100644 --- a/pkgs/applications/audio/mimms/default.nix +++ b/pkgs/applications/audio/mimms/default.nix @@ -17,7 +17,7 @@ in meta = { homepage = https://savannah.nongnu.org/projects/mimms/; license = stdenv.lib.licenses.gpl3; - description = "mimms is an mms (e.g. mms://) stream downloader"; + description = "An mms (e.g. mms://) stream downloader"; longDescription = '' mimms is a program designed to allow you to download streams