1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/development/libraries/libversion/default.nix

29 lines
640 B
Nix
Raw Normal View History

2018-05-27 17:12:52 +01:00
{ stdenv, fetchFromGitHub, cmake }:
let
version = "2.6.0";
in
stdenv.mkDerivation {
name = "libversion-${version}";
src = fetchFromGitHub {
owner = "repology";
repo = "libversion";
rev = version;
sha256 = "0krhfycva3l4rhac5kx6x1a6fad594i9i77vy52rwn37j62bm601";
};
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;
};
}