From c3d24791f5a4bb57eafa536da3ee270cbc953ea6 Mon Sep 17 00:00:00 2001 From: Brian McKenna Date: Thu, 26 Oct 2017 11:30:45 +1100 Subject: [PATCH] sbt-extras: init at 77686b3 Fixes #21783 --- .../build-managers/sbt-extras/default.nix | 32 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/tools/build-managers/sbt-extras/default.nix diff --git a/pkgs/development/tools/build-managers/sbt-extras/default.nix b/pkgs/development/tools/build-managers/sbt-extras/default.nix new file mode 100644 index 000000000000..cd9635ab6142 --- /dev/null +++ b/pkgs/development/tools/build-managers/sbt-extras/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub }: + +let + rev = "77686b3dfa20a34270cc52377c8e37c3a461e484"; + version = stdenv.lib.strings.substring 0 7 rev; +in +stdenv.mkDerivation { + name = "sbt-extras-${version}"; + inherit version; + + src = fetchFromGitHub { + owner = "paulp"; + repo = "sbt-extras"; + inherit rev; + sha256 = "1bhqigm0clv3i1gvn4gsllywcnwfsa73xvqp8m7pbvn8g7i2ws6x"; + }; + + dontBuild = true; + + installPhase = '' + mkdir -p $out/bin + install bin/sbt $out/bin + ''; + + meta = { + description = "A more featureful runner for sbt, the simple/scala/standard build tool"; + homepage = https://github.com/paulp/sbt-extras; + license = stdenv.lib.licenses.bsd3; + maintainers = with stdenv.lib.maintainers; [ puffnfresh ]; + platforms = stdenv.lib.platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b89e59463bd8..10e1c8275dc4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7546,6 +7546,8 @@ with pkgs; sbt-with-scala-native = callPackage ../development/tools/build-managers/sbt/scala-native.nix { }; simpleBuildTool = sbt; + sbt-extras = callPackage ../development/tools/build-managers/sbt-extras { }; + shallot = callPackage ../tools/misc/shallot { }; shards = callPackage ../development/tools/build-managers/shards { };