packages: clean up usages of name/pname

This commit is contained in:
Primrose 2025-07-28 11:47:52 +02:00
parent db61f9d4b9
commit 318ca4fbc6
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
3 changed files with 3 additions and 4 deletions

View file

@ -4,7 +4,7 @@
fetchFromGitea, fetchFromGitea,
}: }:
rustPlatform.buildRustPackage (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
name = "audio-lint"; pname = "audio-lint";
version = lib.substring 0 8 finalAttrs.src.rev; version = lib.substring 0 8 finalAttrs.src.rev;
src = fetchFromGitea { src = fetchFromGitea {

View file

@ -9,7 +9,7 @@
rustPlatform.buildRustPackage (finalAttrs: let rustPlatform.buildRustPackage (finalAttrs: let
cargoToml = fromTOML (builtins.readFile (finalAttrs.src + "/Cargo.toml")); cargoToml = fromTOML (builtins.readFile (finalAttrs.src + "/Cargo.toml"));
in { in {
name = "emoji-picker"; pname = "emoji-picker";
version = cargoToml.package.version; version = cargoToml.package.version;
src = fetchFromGitHub { src = fetchFromGitHub {

View file

@ -4,8 +4,7 @@
fetchpatch, fetchpatch,
}: }:
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "typst-mutilate"; name = "typst-mutilate";
version = "0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "frozolotl"; owner = "frozolotl";