1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/build-managers/bam/default.nix

36 lines
830 B
Nix
Raw Normal View History

2015-07-20 05:36:28 +01:00
{ stdenv, fetchurl, lua5, python }:
2015-07-20 05:36:28 +01:00
stdenv.mkDerivation rec {
name = "bam-${version}";
version = "0.4.0";
2015-07-20 05:36:28 +01:00
src = fetchurl {
url = "http://github.com/downloads/matricks/bam/${name}.tar.bz2";
sha256 = "0z90wvyd4nfl7mybdrv9dsd4caaikc6fxw801b72gqi1m9q0c0sn";
};
2015-07-20 05:36:28 +01:00
buildInputs = [ lua5 python ];
2015-07-20 05:36:28 +01:00
buildPhase = ''${stdenv.shell} make_unix.sh'';
2015-07-20 05:36:28 +01:00
checkPhase = ''${python.interpreter} scripts/test.py'';
2015-07-20 05:36:28 +01:00
installPhase = ''
mkdir -p "$out/share/bam"
cp -r docs examples tests "$out/share/bam"
mkdir -p "$out/bin"
cp bam "$out/bin"
2015-07-20 05:36:28 +01:00
'';
2015-07-20 05:36:28 +01:00
meta = with stdenv.lib; {
description = "Yet another build manager";
2015-07-20 05:36:28 +01:00
maintainers = with maintainers;
[
raskin
];
2015-07-20 05:36:28 +01:00
platforms = platforms.linux;
license = licenses.free;
downloadPage = "http://matricks.github.com/bam/";
};
2015-07-20 05:36:28 +01:00
}