1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "fsaintjacques";
11 sha256 = "sha256-BnHuiCxE0VjzMWFTEMunQ9mkebQKIKbbMxZVfBUO57Y=";
14 dontBuild = true; # otherwise we try to 'make' which fails.
20 install src/semver $out/bin
26 homepage = "https://github.com/fsaintjacques/semver-tool";
27 description = "semver bash implementation";
28 license = licenses.asl20;
29 platforms = platforms.unix;
30 maintainers = [ maintainers.qyliss ];
31 mainProgram = "semver";