-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgil.nix
42 lines (38 loc) · 842 Bytes
/
gil.nix
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
33
34
35
36
37
38
39
40
41
42
{ rustPlatform,
rustc,
cargo,
lib,
fetchFromGitHub,
cmake,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
name = "gil";
version = "0.7.0";
src = fetchFromGitHub {
owner = "eburghar";
repo = "gil";
rev = "${version}";
hash = "sha256-tm/1ltzzjN7X2KCi8xTiWIlmveahhHQz0fLJxTsmenE=";
};
cargoSha256 = "sha256-qIeCi09+nYBW8D1fRozfQSQC1FBGEW6/XAaqlZ2YCDw=";
nativeBuildInputs = [
rustc
cargo
cmake
pkg-config
openssl.dev
];
buildInputs = [
pkg-config
openssl.dev
];
meta = with lib; {
homepage = "https://github.com/eburghar/gil";
description = "Command line tool to interact with Gitlab API from a git repository ";
platforms = platforms.linux ;
license = licenses.bsd2;
maintainers = with maintainers; [ "tcheronneau" ];
};
}