about summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-02-16 08:50:59 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2020-02-16 08:50:59 +0100
commit0c7143462b0a3671d99df394fd2542482899fdac (patch)
tree3144199675c77a52e36875212de710c00e263d47 /pkgs/development/tools/build-managers
parent40971eca7b98779b5471afcef0de139bf1822171 (diff)
parent9f2bc434ca71902a60e4a760575a96bec519bdc8 (diff)
downloadnixlib-0c7143462b0a3671d99df394fd2542482899fdac.tar
nixlib-0c7143462b0a3671d99df394fd2542482899fdac.tar.gz
nixlib-0c7143462b0a3671d99df394fd2542482899fdac.tar.bz2
nixlib-0c7143462b0a3671d99df394fd2542482899fdac.tar.lz
nixlib-0c7143462b0a3671d99df394fd2542482899fdac.tar.xz
nixlib-0c7143462b0a3671d99df394fd2542482899fdac.tar.zst
nixlib-0c7143462b0a3671d99df394fd2542482899fdac.zip
Merge master into staging
Diffstat (limited to 'pkgs/development/tools/build-managers')
-rw-r--r--pkgs/development/tools/build-managers/samurai/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/samurai/default.nix b/pkgs/development/tools/build-managers/samurai/default.nix
new file mode 100644
index 000000000000..063a2c198dab
--- /dev/null
+++ b/pkgs/development/tools/build-managers/samurai/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "samurai";
+  version = "1.0";
+
+  src = fetchFromGitHub {
+    owner = "michaelforney";
+    repo = pname;
+    rev = version;
+    sha256 = "1jsxfpwa6q893x18qlvpsiym29rrw5cj0k805wgmk2n57j9rw4f2";
+  };
+
+  makeFlags = [ "DESTDIR=" "PREFIX=${placeholder "out"}" ];
+
+  meta = with stdenv.lib; {
+    description = "ninja-compatible build tool written in C";
+    homepage = "https://github.com/michaelforney/samurai";
+    license = with licenses; [ mit asl20 ]; # see LICENSE
+    maintainers = with maintainers; [ dtzWill ];
+  };
+}
+