yep, more dotfiles

templates: remove usage of deprecated authors key

wiro.world 184724e4 bbb95b06

verified
+5 -8
+5 -8
templates/rust-pkg/package.nix
··· 9 9 inherit (gitignore.lib) gitignoreSource; 10 10 11 11 src = gitignoreSource ./.; 12 - cargoTOML = lib.importTOML "${src}/Cargo.toml"; 12 + cargo-toml = lib.importTOML "${src}/Cargo.toml"; 13 13 in 14 14 rustPlatform.buildRustPackage { 15 - pname = cargoTOML.package.name; 16 - version = cargoTOML.package.version; 15 + pname = cargo-toml.package.name; 16 + version = cargo-toml.package.version; 17 17 18 18 inherit src; 19 19 20 - cargoLock = { 21 - lockFile = "${src}/Cargo.lock"; 22 - }; 20 + cargoLock.lockFile = "${src}/Cargo.lock"; 23 21 24 22 nativeBuildInputs = [ ]; 25 23 buildInputs = [ ]; 26 24 27 25 meta = { 28 - inherit (cargoTOML.package) description homepage license; 29 - maintainers = cargoTOML.package.authors; 26 + inherit (cargo-toml.package) description homepage license; 30 27 mainProgram = "app"; 31 28 }; 32 29 }