summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authortg(x) <*@tg-x.net>2016-02-10 20:34:05 +0100
committertg(x) <*@tg-x.net>2016-02-10 20:34:05 +0100
commit310a20eda83261f72f670770f232b3bb0ed3cdf5 (patch)
tree0b41795d1fff8b78bea5b1a2c0e63656afd9acf0 /pkgs/development/tools
parentc7ef45e15355a49bc8a4cb6052beb9fcae23eeaa (diff)
downloadnixlib-310a20eda83261f72f670770f232b3bb0ed3cdf5.tar
nixlib-310a20eda83261f72f670770f232b3bb0ed3cdf5.tar.gz
nixlib-310a20eda83261f72f670770f232b3bb0ed3cdf5.tar.bz2
nixlib-310a20eda83261f72f670770f232b3bb0ed3cdf5.tar.lz
nixlib-310a20eda83261f72f670770f232b3bb0ed3cdf5.tar.xz
nixlib-310a20eda83261f72f670770f232b3bb0ed3cdf5.tar.zst
nixlib-310a20eda83261f72f670770f232b3bb0ed3cdf5.zip
waf
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/build-managers/waf/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/waf/default.nix b/pkgs/development/tools/build-managers/waf/default.nix
new file mode 100644
index 000000000000..6956c97db50f
--- /dev/null
+++ b/pkgs/development/tools/build-managers/waf/default.nix
@@ -0,0 +1,31 @@
+{ lib, stdenv, fetchurl, python2 }:
+
+stdenv.mkDerivation rec {
+  name = "waf-${version}";
+  version = "1.8.19";
+
+  src = fetchurl {
+    url = "https://waf.io/waf-${version}.tar.bz2";
+    sha256 = "e5df90556d1f70aca82bb5c5f46aa68d2377bae16b0db044eaa0559df8668c6f";
+  };
+
+  buildInputs = [ python2 ];
+
+  configurePhase = ''
+    python waf-light configure
+  '';
+  buildPhase = ''
+    python waf-light build
+  '';
+  installPhase = ''
+    install waf $out
+  '';
+
+  meta = {
+    description = "Meta build system";
+    homepage    = "https://waf.io/";
+    license     = lib.licenses.bsd3;
+    platforms   = lib.platforms.all;
+    maintainers = with lib.maintainers; [ ];
+  };
+}