From 3e40cf1f642b246210c1daa6dbafe7ee5b100051 Mon Sep 17 00:00:00 2001 From: Alexander Tsamutali Date: Sun, 18 Apr 2010 18:57:35 +0000 Subject: [PATCH] libmikmod: New nixpkg. svn path=/nixpkgs/trunk/; revision=21146 --- .../libraries/libmikmod/default.nix | 20 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/libmikmod/default.nix diff --git a/pkgs/development/libraries/libmikmod/default.nix b/pkgs/development/libraries/libmikmod/default.nix new file mode 100644 index 000000000000..3d2a2635fbcc --- /dev/null +++ b/pkgs/development/libraries/libmikmod/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, texinfo }: +stdenv.mkDerivation rec { + name = "libmikmod-3.1.12"; + src = fetchurl { + url = "mirror://sourceforge/mikmod/${name}.tar.gz"; + sha256 = "0cpwpl0iqd5zsdwshw69arzlwp883bkmkx41wf3fzrh60dw2n6l9"; + }; + buildInputs = [ texinfo ]; + meta = { + description = "A library for playing tracker music module files"; + longDescription = '' + A library for playing tracker music module files supporting many formats, + including MOD, S3M, IT and XM. + ''; + homepage = http://mikmod.raphnet.net/; + license = "LGPLv2+"; + maintainers = with stdenv.lib.maintainers; [ astsmtl ]; + platforms = with stdenv.lib.platforms; linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 377a42731898..d2a06f1efec4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4369,6 +4369,10 @@ let inherit fetchurl stdenv curl; }; + libmikmod = import ../development/libraries/libmikmod { + inherit stdenv fetchurl texinfo; + }; + libmilter = import ../development/libraries/libmilter { inherit fetchurl stdenv m4; };