nixpkgs-suyu/pkgs/development/libraries/libversion/default.nix
R. RyanTM 4b69581737 libversion: 2.6.0 -> 2.7.0 (#49244)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/libversion/versions
2018-10-27 09:24:37 -04:00

28 lines
640 B
Nix

{ stdenv, fetchFromGitHub, cmake }:
let
version = "2.7.0";
in
stdenv.mkDerivation {
name = "libversion-${version}";
src = fetchFromGitHub {
owner = "repology";
repo = "libversion";
rev = version;
sha256 = "0brk2mbazc7yz0h4zsvbybbaymf497dgxnc74qihnvbi4z4rlqpj";
};
nativeBuildInputs = [ cmake ];
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
description = "Advanced version string comparison library";
homepage = https://github.com/repology/libversion;
license = with licenses; [ mit ];
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}