python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / networking / cocom / default.nix
blobf4a896af7d1e20b810a7c43dd37b0970e287bb04
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , rustPlatform
5 , Security
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "cocom";
10   version = "1.1.3";
12   src = fetchFromGitHub {
13     owner = "LamdaLamdaLamda";
14     repo = pname;
15     rev = "v${version}";
16     sha256 = "0sl4ivn95sr5pgw2z877gmhyfc4mk9xr457i5g2i4wqnf2jmy14j";
17   };
19   cargoSha256 = "04kj1yj6hhnis3ss0xs4zq8rl71rzn577g8i0wmapkjqzqwg37yb";
21   buildInputs = lib.optional stdenv.isDarwin Security;
23   # Tests require network access
24   doCheck = false;
26   meta = with lib; {
27     description = "NTP client";
28     homepage = "https://github.com/LamdaLamdaLamda/cocom";
29     license = licenses.gpl3Only;
30     maintainers = with maintainers; [ fab ];
31   };