summary refs log tree commit diff
path: root/pkgs/tools/security/munge
diff options
context:
space:
mode:
authorMitch Tishmack <mitch.tishmack@gmail.com>2015-10-28 11:22:40 -0500
committerMitch Tishmack <mitch.tishmack@gmail.com>2015-11-22 19:01:44 -0600
commita1ca4985e3f052302fc422f53acafc8eac73fc38 (patch)
treee648588a4e5166621b3e387d338e2ab7cad691ef /pkgs/tools/security/munge
parent071bcf356e22068f75eb01b5458153f97407760a (diff)
Munge is buildable/usable on osx.
Also update the url to point to the migrated from google code url to
github.
Diffstat (limited to 'pkgs/tools/security/munge')
-rw-r--r--pkgs/tools/security/munge/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/tools/security/munge/default.nix b/pkgs/tools/security/munge/default.nix
index f94eaabd2a4bd..96847c983f12f 100644
--- a/pkgs/tools/security/munge/default.nix
+++ b/pkgs/tools/security/munge/default.nix
@@ -1,11 +1,13 @@
-{ stdenv, fetchurl, gnused, perl, libgcrypt, zlib, bzip2 }:
+{ stdenv, fetchFromGitHub, gnused, perl, libgcrypt, zlib, bzip2 }:
 
 stdenv.mkDerivation rec {
   name = "munge-0.5.11";
 
-  src = fetchurl {
-    url = "http://munge.googlecode.com/files/${name}.tar.bz2";
-    sha256 = "19aijdrjij2g0xpqgl198jh131j94p4gvam047gsdc0wz0a5c1wf";
+  src = fetchFromGitHub {
+    owner = "dun";
+    repo = "munge";
+    rev = "${name}";
+    sha256 = "02847p742nq3cb8ayf5blrdicybq72nfsnggqkxr33cpppmsfwg9";
   };
 
   buildInputs = [ gnused perl libgcrypt zlib bzip2 ];
@@ -20,11 +22,10 @@ stdenv.mkDerivation rec {
   ];
 
   meta = {
-    homepage = http://code.google.com/p/munge/;
     description = ''
       An authentication service for creating and validating credentials
     '';
     maintainers = [ stdenv.lib.maintainers.rickynils ];
-    platforms = stdenv.lib.platforms.linux;
+    platforms = stdenv.lib.platforms.unix;
   };
 }