depot/third_party/nixpkgs/pkgs/development/libraries/libversion/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

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;
};
}