02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
26 lines
627 B
Nix
26 lines
627 B
Nix
{ stdenv, fetchFromGitHub, cmake, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libversion";
|
|
version = "3.0.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "repology";
|
|
repo = "libversion";
|
|
rev = version;
|
|
sha256 = "13x5djdpv6aryxsbw6a3b6vwzi9f4aa3gn9dqb7axzppggayawyk";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
meta = with lib; {
|
|
description = "Advanced version string comparison library";
|
|
homepage = "https://github.com/repology/libversion";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ ryantm ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|