File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 44 rustPlatform ,
55} :
66
7- rustPlatform . buildRustPackage rec {
7+ rustPlatform . buildRustPackage ( finalAttrs : {
88 pname = "nixdoc" ;
99 version = "3.1.0" ;
1010
1111 src = fetchFromGitHub {
1212 owner = "nix-community" ;
1313 repo = "nixdoc" ;
14- rev = "v${ version } " ;
15- sha256 = "sha256-7UOjmW8Ef4mEvj7SINaKWh2ZuyNMVEXB82mtuZTQiPA=" ;
14+ tag = "v${ finalAttrs . version } " ;
15+ hash = "sha256-7UOjmW8Ef4mEvj7SINaKWh2ZuyNMVEXB82mtuZTQiPA=" ;
1616 } ;
1717
1818 useFetchCargoVendor = true ;
1919 cargoHash = "sha256-Aw794yhIET8/pnlQiK2xKVbYC/Kd5MExvFTwkv4LLTc=" ;
2020
21- meta = with lib ; {
21+ meta = {
2222 description = "Generate documentation for Nix functions" ;
2323 mainProgram = "nixdoc" ;
2424 homepage = "https://github.com/nix-community/nixdoc" ;
25- license = [ licenses . gpl3 ] ;
26- maintainers = with maintainers ; [
25+ license = [ lib . licenses . gpl3 ] ;
26+ maintainers = with lib . maintainers ; [
2727 infinisil
2828 hsjobeki
2929 ] ;
30- platforms = platforms . unix ;
30+ platforms = lib . platforms . unix ;
3131 } ;
32- }
32+ } )
You can’t perform that action at this time.
0 commit comments