tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
cargo: 0.3.0 -> 0.5.0
Robin Gloster
10 years ago
feda2925
73438e3d
+6
-5
1 changed file
expand all
collapse all
unified
split
pkgs
development
tools
build-managers
cargo
default.nix
+6
-5
pkgs/development/tools/build-managers/cargo/default.nix
···
1
1
{ stdenv, fetchgit, rustPlatform, file, curl, python, pkgconfig, openssl
2
2
, cmake, zlib }:
3
3
4
4
-
with ((import ./common.nix) { inherit stdenv; version = "0.3.0"; });
4
4
+
with ((import ./common.nix) { inherit stdenv; version = "0.5.0"; });
5
5
6
6
with rustPlatform;
7
7
8
8
buildRustPackage rec {
9
9
inherit name version meta;
10
10
11
11
+
# Needs to use fetchgit instead of fetchFromGitHub to fetch submodules
11
12
src = fetchgit {
12
12
-
url = "https://github.com/rust-lang/cargo.git";
13
13
-
rev = "refs/tags/0.3.0";
14
14
-
sha256 = "0p7p7yivydjkpqb53a8i7pjl719z3gxa6czi0255ccwsh6n9z793";
13
13
+
url = "git://github.com/rust-lang/cargo";
14
14
+
rev = "refs/tags/${version}";
15
15
+
sha256 = "1wg7vr6fpk9n76ly65lf2z9w1dj5nhykffbwrv46lybd8m3r8x3w";
15
16
};
16
17
17
17
-
depsSha256 = "1sgdr2akd9xrfmf5g0lbf842b2pdj1ymxk37my0cf2x349rjsf0w";
18
18
+
depsSha256 = "1q92q63g9pz7fy9fhx8y0kqarsshmzv1dq18ki3hdd7d5pcbczna";
18
19
19
20
buildInputs = [ file curl pkgconfig python openssl cmake zlib ];
20
21