Unverified Commit fcc43643 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #257984 from foo-dogsquared/add-guile-semver

guile-semver: init at 0.1.1
parents 816c9634 15c7030b
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{ 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;
  };
}