mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
34 lines
759 B
Nix
34 lines
759 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|