rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / cocom / default.nix
blob6ae004de9b3e89a60976e533a2b7b5e4937d90ef
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     mainProgram = "cocom";
32   };