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

bam: 0.4.0 -> 0.5.1, fix licence

+9 -7
+9 -7
pkgs/development/tools/build-managers/bam/default.nix
··· 1 - { stdenv, fetchurl, lua5, python }: 1 + { stdenv, fetchFromGitHub, lua5_3, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "bam-${version}"; 5 - version = "0.4.0"; 5 + version = "0.5.1"; 6 6 7 - src = fetchurl { 8 - url = "http://github.com/downloads/matricks/bam/${name}.tar.bz2"; 9 - sha256 = "0z90wvyd4nfl7mybdrv9dsd4caaikc6fxw801b72gqi1m9q0c0sn"; 7 + src = fetchFromGitHub { 8 + owner = "matricks"; 9 + repo = "bam"; 10 + rev = "v${version}"; 11 + sha256 = "13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6"; 10 12 }; 11 13 12 - buildInputs = [ lua5 python ]; 14 + buildInputs = [ lua5_3 python ]; 13 15 14 16 buildPhase = ''${stdenv.shell} make_unix.sh''; 15 17 ··· 29 31 raskin 30 32 ]; 31 33 platforms = platforms.linux; 32 - license = licenses.free; 34 + license = licenses.zlib; 33 35 downloadPage = "http://matricks.github.com/bam/"; 34 36 }; 35 37 }