git.iko.soy/typeable/nixpkgs
on master help sign in
elan: upgrade cargo fetcher and cargoSha256

Infra upgrade as part of #79975; ran `nixpkgs-review wip` successfully.

commited85c9981a9c64f21974af3fc1d9aa9bc35a8e07 authorBenjamin Hipple <bhipple@protonmail.com> dateWed 19 Feb 2020, 18:17 (7 years ago) parent6c6d7cb
1 file changed+4−7
pkgs/applications/science/logic/elan/default.nix+4−7
pkgs/applications/science/logic/elan/default.nix+4−7
@@ -1,14 +1,9 @@
1−{ stdenv, pkgconfig, curl, openssl, zlib, fetchFromGitHub, rustPlatform }:
1+{ lib, pkgconfig, curl, openssl, zlib, fetchFromGitHub, rustPlatform }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "elan";
55 version = "0.7.5";
66
7− # Delete this on next update; see #79975 for details
8− legacyCargoFetcher = true;
9−
10− cargoSha256 = "0q0xlvyyf88dbz43r7kk9v8rrp6hj0nl5i2i9mg6ibk2gphgdv6v";
11−
127 src = fetchFromGitHub {
138 owner = "kha";
149 repo = "elan";
@@ -16,6 +11,8 @@ rustPlatform.buildRustPackage rec {
1611 sha256 = "1147f3lzr6lgvf580ppspn20bdwnf6l8idh1h5ana0p0lf5a0dn1";
1712 };
1813
14+ cargoSha256 = "0vja1cq6z7jlr4nzfdzn4gl8l31yld82zmgzwihnalif13q3fcps";
15+
1916 nativeBuildInputs = [ pkgconfig ];
2017
2118 buildInputs = [ curl zlib openssl ];
@@ -38,7 +35,7 @@ rustPlatform.buildRustPackage rec {
3835 $out/bin/elan completions zsh > "$out/share/zsh/site-functions/_elan"
3936 '';
4037
41− meta = with stdenv.lib; {
38+ meta = with lib; {
4239 description = "Small tool to manage your installations of the Lean theorem prover";
4340 homepage = "https://github.com/Kha/elan";
4441 license = with licenses; [ asl20 /* or */ mit ];