zaphyra's git: nixfiles

zaphyra's nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
{ ... }:

final: prev: {
  tuigreet = prev.tuigreet.overrideAttrs rec {
    version = "0.10.0-unstable-2024-11-12";
    useFetchCargoVendor = true;
    # for some stupid reason `cargoHash` doesn't work in `overrideAttrs`, so we have to do it this way
    cargoDeps = final.rustPlatform.fetchCargoVendor {
      inherit src;
      hash = "sha256-FrWDRsYhfq46wBm7F0Tifiw5oGXzSgwZC05ndNXcg8k=";
    };
    src = prev.fetchFromGitHub {
      owner = "apognu";
      repo = "tuigreet";
      rev = "2aeca1b63dec977fc4e2ac6f97432386bedbc546";
      sha256 = "sha256-6hVTU575tP+bPAUZlGhDwvBTVISyORC0wqljC7guZdA=";
    };
    doCheck = false;
  };
}