libversion: init at 2.6.0
This commit is contained in:
parent
44c428ff80
commit
b2317a0b87
28
pkgs/development/libraries/libversion/default.nix
Normal file
28
pkgs/development/libraries/libversion/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ 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;
|
||||
};
|
||||
}
|
@ -10562,6 +10562,8 @@ with pkgs;
|
||||
|
||||
libvdpau-va-gl = callPackage ../development/libraries/libvdpau-va-gl { };
|
||||
|
||||
libversion = callPackage ../development/libraries/libversion { };
|
||||
|
||||
libvirt = callPackage ../development/libraries/libvirt { };
|
||||
|
||||
libvirt-glib = callPackage ../development/libraries/libvirt-glib { };
|
||||
|
Loading…
Reference in New Issue
Block a user