summary refs log tree commit diff
path: root/pkgs/applications/audio/mimms/default.nix
blob: 9811998c36856f3b1ca76096b3d06d80cbe9445b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ fetchurl, lib, pythonPackages, libmms }:

pythonPackages.buildPythonApplication rec {
  pname = "mimms";
  version = "3.2";

  src = fetchurl {
    url = "https://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 = lib.licenses.gpl3;
    description = "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.
    '';
  };
}