From 80f043b738f20e30d87ac7438a9e2d6c5e734d04 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Mon, 6 Jan 2020 15:37:40 -0600 Subject: [PATCH] samurai: init at 1.0 --- .../tools/build-managers/samurai/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/tools/build-managers/samurai/default.nix 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 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f54db64d9134..a30c9753fdae 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10476,6 +10476,8 @@ in rr = callPackage ../development/tools/analysis/rr { }; + samurai = callPackage ../development/tools/build-managers/samurai { }; + saleae-logic = callPackage ../development/tools/misc/saleae-logic { }; sauce-connect = callPackage ../development/tools/sauce-connect { };