depot/third_party/nixpkgs/pkgs/development/libraries/libversion/default.nix
Default email 0d9fc34957 Project import generated by Copybara.
GitOrigin-RevId: 5ed481943351e9fd354aeb557679624224de38d5
2023-01-20 11:41:00 +01:00

26 lines
624 B
Nix

{ stdenv, fetchFromGitHub, cmake, lib }:
stdenv.mkDerivation rec {
pname = "libversion";
version = "3.0.3";
src = fetchFromGitHub {
owner = "repology";
repo = "libversion";
rev = version;
hash = "sha256-REmXD0NFd7Af01EU/f2IGoTKiju6ErTI7WUinvrAzaA=";
};
nativeBuildInputs = [ cmake ];
checkTarget = "test";
doCheck = true;
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;
};
}