diff --git a/pkgs/by-name/gu/guile-semver/package.nix b/pkgs/by-name/gu/guile-semver/package.nix new file mode 100644 index 000000000000..ac2a95b09f1a --- /dev/null +++ b/pkgs/by-name/gu/guile-semver/package.nix @@ -0,0 +1,33 @@ +{ lib +, stdenv +, fetchurl +, autoreconfHook +, pkg-config +, texinfo +, guile +}: + +stdenv.mkDerivation rec { + pname = "guile-semver"; + version = "0.1.1"; + + src = fetchurl { + url = "https://files.ngyro.com/guile-semver/${pname}-${version}.tar.gz"; + hash = "sha256-T3kJGTdf6yBKjqLtqSopHZu03kyOscZ3Z4RYmoYlN4E="; + }; + + strictDeps = true; + nativeBuildInputs = [ autoreconfHook guile pkg-config texinfo ]; + buildInputs = [ guile ]; + + doCheck = true; + + meta = with lib; { + description = + "A GNU Guile library implementing Semantic Versioning 2.0.0"; + homepage = "https://ngyro.com/software/guile-semver.html"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ foo-dogsquared ]; + platforms = guile.meta.platforms; + }; +}