python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libversion / default.nix
blobc8af82d04917f5a7e5e9fc42c602bf9b9c4bbb80
1 { stdenv, fetchFromGitHub, cmake, lib }:
3 stdenv.mkDerivation rec {
4   pname = "libversion";
5   version = "3.0.1";
7   src = fetchFromGitHub {
8     owner = "repology";
9     repo = "libversion";
10     rev = version;
11     sha256 = "13x5djdpv6aryxsbw6a3b6vwzi9f4aa3gn9dqb7axzppggayawyk";
12   };
14   nativeBuildInputs = [ cmake ];
16   doCheck = true;
17   checkTarget = "test";
19   meta = with lib; {
20     description = "Advanced version string comparison library";
21     homepage = "https://github.com/repology/libversion";
22     license = with licenses; [ mit ];
23     maintainers = with maintainers; [ ryantm ];
24     platforms = platforms.unix;
25   };