tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
cocom: init at 1.1.3
Fabian Affolter
4 years ago
ad8b52bf
4d420f27
+36
2 changed files
expand all
collapse all
unified
split
pkgs
tools
networking
cocom
default.nix
top-level
all-packages.nix
+32
pkgs/tools/networking/cocom/default.nix
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, rustPlatform
5
5
+
, Security
6
6
+
}:
7
7
+
8
8
+
rustPlatform.buildRustPackage rec {
9
9
+
pname = "cocom";
10
10
+
version = "1.1.3";
11
11
+
12
12
+
src = fetchFromGitHub {
13
13
+
owner = "LamdaLamdaLamda";
14
14
+
repo = pname;
15
15
+
rev = "v${version}";
16
16
+
sha256 = "0sl4ivn95sr5pgw2z877gmhyfc4mk9xr457i5g2i4wqnf2jmy14j";
17
17
+
};
18
18
+
19
19
+
cargoSha256 = "04kj1yj6hhnis3ss0xs4zq8rl71rzn577g8i0wmapkjqzqwg37yb";
20
20
+
21
21
+
buildInputs = lib.optional stdenv.isDarwin Security;
22
22
+
23
23
+
# Tests require network access
24
24
+
doCheck = false;
25
25
+
26
26
+
meta = with lib; {
27
27
+
description = "NTP client";
28
28
+
homepage = "https://github.com/LamdaLamdaLamda/cocom";
29
29
+
license = licenses.gpl3Only;
30
30
+
maintainers = with maintainers; [ fab ];
31
31
+
};
32
32
+
}
+4
pkgs/top-level/all-packages.nix
···
3869
3869
3870
3870
cocoapods-beta = lowPrio (callPackage ../development/mobile/cocoapods { beta = true; });
3871
3871
3872
3872
+
cocom = callPackage ../tools/networking/cocom {
3873
3873
+
inherit (darwin.apple_sdk.frameworks) Security;
3874
3874
+
};
3875
3875
+
3872
3876
codebraid = callPackage ../tools/misc/codebraid { };
3873
3877
3874
3878
compass = callPackage ../development/tools/compass { };