File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed
Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change 1111 stdenv ,
1212 darwin ,
1313 testers ,
14- espup ,
15- gitUpdater ,
14+ nix-update-script ,
1615} :
1716
18- rustPlatform . buildRustPackage rec {
17+ rustPlatform . buildRustPackage ( finalAttrs : {
1918 pname = "espup" ;
20- version = "0.14.1 " ;
19+ version = "0.15.0 " ;
2120
2221 src = fetchFromGitHub {
2322 owner = "esp-rs" ;
2423 repo = "espup" ;
25- rev = "v${ version } " ;
26- hash = "sha256-sPWGpQi9JrkdaPV2jvwaY9zjb8urK+ibhvxw/CC2UOQ =" ;
24+ tag = "v${ finalAttrs . version } " ;
25+ hash = "sha256-1muyZd7jhhDkif/8mX7QZEMnV105jNMHT0RaZPinD/4 =" ;
2726 } ;
2827
2928 useFetchCargoVendor = true ;
30- cargoHash = "sha256-k6hczvuEvutUWOrKYFUltA0ZD+AHa8E0+5YW1+0TKQA =" ;
29+ cargoHash = "sha256-fX6nl0DZZNiH/VWR9eWMnTuBW9r1jz3IWIxbOGC4Amg =" ;
3130
3231 nativeBuildInputs = [
3332 pkg-config
@@ -68,22 +67,24 @@ rustPlatform.buildRustPackage rec {
6867 --zsh <($out/bin/espup completions zsh)
6968 '' ;
7069
71- passthru . updateScript = gitUpdater { } ;
72- passthru . tests . version = testers . testVersion {
73- package = espup ;
70+ passthru = {
71+ updateScript = nix-update-script { } ;
72+ tests . version = testers . testVersion {
73+ package = finalAttrs . finalPackage ;
74+ } ;
7475 } ;
7576
76- meta = with lib ; {
77+ meta = {
7778 description = "Tool for installing and maintaining Espressif Rust ecosystem" ;
7879 homepage = "https://github.com/esp-rs/espup/" ;
79- license = with licenses ; [
80+ license = with lib . licenses ; [
8081 mit
8182 asl20
8283 ] ;
83- maintainers = with maintainers ; [
84+ maintainers = with lib . maintainers ; [
8485 knightpp
8586 beeb
8687 ] ;
8788 mainProgram = "espup" ;
8889 } ;
89- }
90+ } )
You can’t perform that action at this time.
0 commit comments