blob: 97b6b5139c1a0adf95608513c006293c58c12051 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ stdenv, fetchFromGitHub, rustPlatform, cmake, libzip, gnupg,
# Darwin
libiconv, CoreFoundation, Security }:
rustPlatform.buildRustPackage rec {
name = "sit-${version}";
version = "0.4.0";
src = fetchFromGitHub {
owner = "sit-fyi";
repo = "sit";
rev = "v${version}";
sha256 = "10ycs6vc7mfzxnxrki09xn974pcwh196h1pfnsds98x6r87hxkpn";
};
buildInputs = [ cmake libzip gnupg ] ++
(if stdenv.isDarwin then [ libiconv CoreFoundation Security ] else []);
preCheck = ''
export HOME=$(mktemp -d)
'';
cargoSha256 = "0kijx7s7zh6yisrsjz213h9x5jx43ixr44vy5rb3wwbn9dgsr528";
meta = with stdenv.lib; {
description = "Serverless Information Tracker";
homepage = https://sit.fyi/;
license = with licenses; [ asl20 /* or */ mit ];
maintainers = with maintainers; [ dywedir yrashk ];
platforms = platforms.all;
};
}
|