Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Munge is buildable/usable on osx.

Also update the url to point to the migrated from google code url to
github.

+7 -6
+7 -6
pkgs/tools/security/munge/default.nix
··· 1 - { stdenv, fetchurl, gnused, perl, libgcrypt, zlib, bzip2 }: 1 + { stdenv, fetchFromGitHub, gnused, perl, libgcrypt, zlib, bzip2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "munge-0.5.11"; 5 5 6 - src = fetchurl { 7 - url = "http://munge.googlecode.com/files/${name}.tar.bz2"; 8 - sha256 = "19aijdrjij2g0xpqgl198jh131j94p4gvam047gsdc0wz0a5c1wf"; 6 + src = fetchFromGitHub { 7 + owner = "dun"; 8 + repo = "munge"; 9 + rev = "${name}"; 10 + sha256 = "02847p742nq3cb8ayf5blrdicybq72nfsnggqkxr33cpppmsfwg9"; 9 11 }; 10 12 11 13 buildInputs = [ gnused perl libgcrypt zlib bzip2 ]; ··· 20 22 ]; 21 23 22 24 meta = { 23 - homepage = http://code.google.com/p/munge/; 24 25 description = '' 25 26 An authentication service for creating and validating credentials 26 27 ''; 27 28 maintainers = [ stdenv.lib.maintainers.rickynils ]; 28 - platforms = stdenv.lib.platforms.linux; 29 + platforms = stdenv.lib.platforms.unix; 29 30 }; 30 31 }