Merge pull request #58581 from matthiasbeyer/add-semver-tool

semver-tool: init at 2.1.0
This commit is contained in:
worldofpeace 2019-03-31 16:05:07 -04:00 committed by GitHub
commit d8c7f0bd3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "semver-tool";
version = "2.1.0";
src = fetchFromGitHub {
owner = "fsaintjacques";
repo = pname;
rev = version;
sha256 = "0lpwsa86qb5w6vbnsn892nb3qpxxx9ifxch8pw3ahzx2dqhdgnrr";
};
dontBuild = true; # otherwise we try to 'make' which fails.
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install src/semver $out/bin
runHook postInstall
'';
meta = with lib; {
homepage = https://github.com/fsaintjacques/semver-tool;
description = "semver bash implementation";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = [ maintainers.qyliss ];
};
}

View File

@ -9264,6 +9264,8 @@ in
selendroid = callPackage ../development/tools/selenium/selendroid { };
semver-tool = callPackage ../development/tools/misc/semver-tool { };
sconsPackages = dontRecurseIntoAttrs (callPackage ../development/tools/build-managers/scons { });
scons = sconsPackages.scons_latest;