tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gitoxide: 0.8.4 -> 0.10.0
figsoda
4 years ago
4c121d16
a6a0964e
+17
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
version-management
gitoxide
default.nix
+17
-7
pkgs/applications/version-management/gitoxide/default.nix
···
1
-
{ lib, stdenv, rustPlatform, cmake, fetchFromGitHub, pkg-config, openssl
2
-
, libiconv, Security, SystemConfiguration }:
0
0
0
0
0
0
0
0
0
3
4
rustPlatform.buildRustPackage rec {
5
pname = "gitoxide";
6
-
version = "0.8.4";
7
8
src = fetchFromGitHub {
9
owner = "Byron";
10
repo = "gitoxide";
11
rev = "v${version}";
12
-
sha256 = "WH8YiW1X7TkURjncm0OefxrZhnhGHaGLwxRNxe17g/0=";
13
};
14
15
-
cargoSha256 = "eTPJMYl9m81o4PJKfpDs61KmehSvKnY+bgybEodOhAM=";
16
17
nativeBuildInputs = [ cmake pkg-config ];
18
buildInputs = if stdenv.isDarwin
19
-
then [ libiconv Security SystemConfiguration]
20
else [ openssl ];
21
22
# Needed to get openssl-sys to use pkg-config.
···
25
meta = with lib; {
26
description = "A command-line application for interacting with git repositories";
27
homepage = "https://github.com/Byron/gitoxide";
0
28
license = with licenses; [ mit /* or */ asl20 ];
29
-
maintainers = [ maintainers.syberant ];
30
};
31
}
···
1
+
{ lib
2
+
, rustPlatform
3
+
, fetchFromGitHub
4
+
, cmake
5
+
, pkg-config
6
+
, stdenv
7
+
, libiconv
8
+
, Security
9
+
, SystemConfiguration
10
+
, openssl
11
+
}:
12
13
rustPlatform.buildRustPackage rec {
14
pname = "gitoxide";
15
+
version = "0.10.0";
16
17
src = fetchFromGitHub {
18
owner = "Byron";
19
repo = "gitoxide";
20
rev = "v${version}";
21
+
sha256 = "sha256-c29gmmkIOyS+HNq2kv53yq+sdEDmQbSmcvVGcd55/hk=";
22
};
23
24
+
cargoSha256 = "sha256-oc7XpiOZj4bfqdwrEHj/CzNtWzYWFkgMJOySJNgxAGQ=";
25
26
nativeBuildInputs = [ cmake pkg-config ];
27
buildInputs = if stdenv.isDarwin
28
+
then [ libiconv Security SystemConfiguration ]
29
else [ openssl ];
30
31
# Needed to get openssl-sys to use pkg-config.
···
34
meta = with lib; {
35
description = "A command-line application for interacting with git repositories";
36
homepage = "https://github.com/Byron/gitoxide";
37
+
changelog = "https://github.com/Byron/gitoxide/blob/v${version}/CHANGELOG.md";
38
license = with licenses; [ mit /* or */ asl20 ];
39
+
maintainers = with maintainers; [ syberant ];
40
};
41
}