File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 11{
2- cargo ,
2+ lib ,
3+ stdenv ,
4+ rustPlatform ,
35 fetchFromGitHub ,
46 makeWrapper ,
57 pkg-config ,
6- rustPlatform ,
7- lib ,
8- stdenv ,
8+ cmake ,
9+ libiconv ,
10+ cargo ,
911 gcc ,
1012 mold ,
1113 rustc ,
12- cmake ,
13- libiconv ,
1414 nix-update-script ,
1515} :
1616
17- rustPlatform . buildRustPackage rec {
17+ rustPlatform . buildRustPackage ( finalAttrs : {
1818 pname = "evcxr" ;
1919 version = "0.19.0" ;
2020
2121 src = fetchFromGitHub {
2222 owner = "google" ;
2323 repo = "evcxr" ;
24- rev = "v${ version } " ;
24+ rev = "v${ finalAttrs . version } " ;
2525 sha256 = "sha256-8PjZFWUH76QrA8EI9Cx0sBCzocvSmnp84VD7Nv9QMc8=" ;
2626 } ;
2727
@@ -85,14 +85,14 @@ rustPlatform.buildRustPackage rec {
8585
8686 passthru . updateScript = nix-update-script { } ;
8787
88- meta = with lib ; {
88+ meta = {
8989 description = "Evaluation context for Rust" ;
9090 homepage = "https://github.com/google/evcxr" ;
91- license = licenses . asl20 ;
92- maintainers = with maintainers ; [
91+ license = lib . licenses . asl20 ;
92+ maintainers = with lib . maintainers ; [
9393 protoben
9494 ma27
9595 ] ;
9696 mainProgram = "evcxr" ;
9797 } ;
98- }
98+ } )
You can’t perform that action at this time.
0 commit comments