mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 18:44:07 +00:00
007e4b16c8
fixes build system, so no need for cmakeFlags
27 lines
624 B
Nix
27 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;
|
|
};
|
|
}
|