Merge pull request #58581 from matthiasbeyer/add-semver-tool
semver-tool: init at 2.1.0
This commit is contained in:
commit
d8c7f0bd3f
32
pkgs/development/tools/misc/semver-tool/default.nix
Normal file
32
pkgs/development/tools/misc/semver-tool/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user