summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/bam
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2019-01-21 11:32:11 +0100
committerLinus Heckemann <git@sphalerite.org>2019-01-21 11:34:28 +0100
commit4c651d1647428225717ea35cac5efbce67f58fee (patch)
tree65d38e875d1126d464cda3d99ad434148324501c /pkgs/development/tools/build-managers/bam
parentde3b2d1753e99bc2c456fb08be015842aefb35b4 (diff)
downloadnixpkgs-4c651d1647428225717ea35cac5efbce67f58fee.tar
nixpkgs-4c651d1647428225717ea35cac5efbce67f58fee.tar.gz
nixpkgs-4c651d1647428225717ea35cac5efbce67f58fee.tar.bz2
nixpkgs-4c651d1647428225717ea35cac5efbce67f58fee.tar.lz
nixpkgs-4c651d1647428225717ea35cac5efbce67f58fee.tar.xz
nixpkgs-4c651d1647428225717ea35cac5efbce67f58fee.tar.zst
nixpkgs-4c651d1647428225717ea35cac5efbce67f58fee.zip
bam: 0.4.0 -> 0.5.1, fix licence
Diffstat (limited to 'pkgs/development/tools/build-managers/bam')
-rw-r--r--pkgs/development/tools/build-managers/bam/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/development/tools/build-managers/bam/default.nix b/pkgs/development/tools/build-managers/bam/default.nix
index c20431c5e7e..62482161346 100644
--- a/pkgs/development/tools/build-managers/bam/default.nix
+++ b/pkgs/development/tools/build-managers/bam/default.nix
@@ -1,15 +1,17 @@
-{ stdenv, fetchurl, lua5, python }:
+{ stdenv, fetchFromGitHub, lua5_3, python }:
 
 stdenv.mkDerivation rec {
   name = "bam-${version}";
-  version = "0.4.0";
+  version = "0.5.1";
 
-  src = fetchurl {
-    url = "http://github.com/downloads/matricks/bam/${name}.tar.bz2";
-    sha256 = "0z90wvyd4nfl7mybdrv9dsd4caaikc6fxw801b72gqi1m9q0c0sn";
+  src = fetchFromGitHub {
+    owner = "matricks";
+    repo = "bam";
+    rev = "v${version}";
+    sha256 = "13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6";
   };
 
-  buildInputs = [ lua5 python ];
+  buildInputs = [ lua5_3 python ];
 
   buildPhase = ''${stdenv.shell} make_unix.sh'';
 
@@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
       raskin
     ];
     platforms = platforms.linux;
-    license = licenses.free;
+    license = licenses.zlib;
     downloadPage = "http://matricks.github.com/bam/";
   };
 }