diff --git a/pkgs/by-name/fh/fh/package.nix b/pkgs/by-name/fh/fh/package.nix index 08febb55be53..9a5a993b6dd5 100644 --- a/pkgs/by-name/fh/fh/package.nix +++ b/pkgs/by-name/fh/fh/package.nix @@ -8,14 +8,14 @@ cacert, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "fh"; version = "0.1.26"; src = fetchFromGitHub { owner = "DeterminateSystems"; repo = "fh"; - rev = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-cHXpTe5tAXrAwVu5+ZTb3pzHIqAk353GnNFPvComIfQ="; }; @@ -48,9 +48,9 @@ rustPlatform.buildRustPackage rec { meta = { description = "Official FlakeHub CLI"; homepage = "https://github.com/DeterminateSystems/fh"; - changelog = "https://github.com/DeterminateSystems/fh/releases/tag/${src.rev}"; + changelog = "https://github.com/DeterminateSystems/fh/releases/tag/${finalAttrs.version}"; license = lib.licenses.asl20; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "fh"; }; -} +}) diff --git a/pkgs/by-name/lu/lucky-commit/package.nix b/pkgs/by-name/lu/lucky-commit/package.nix index fe3eb0cbef71..99fef8610c6a 100644 --- a/pkgs/by-name/lu/lucky-commit/package.nix +++ b/pkgs/by-name/lu/lucky-commit/package.nix @@ -7,15 +7,15 @@ ocl-icd, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "lucky-commit"; version = "2.2.5"; src = fetchFromGitHub { owner = "not-an-aardvark"; repo = "lucky-commit"; - rev = "v${version}"; - sha256 = "sha256-pghc2lTI81/z1bPJ6P2bFPyZkM8pko0V7lqv9rUUxWM="; + tag = "v${finalAttrs.version}"; + hash = "sha256-pghc2lTI81/z1bPJ6P2bFPyZkM8pko0V7lqv9rUUxWM="; }; cargoHash = "sha256-zuWPkaYltxOOLaR6NTVkf1WbKzUQByml45jNL+e5UJ0="; @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { description = "Change the start of your git commit hashes to whatever you want"; homepage = "https://github.com/not-an-aardvark/lucky-commit"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "lucky_commit"; }; -} +}) diff --git a/pkgs/by-name/ni/nixpkgs-hammering/package.nix b/pkgs/by-name/ni/nixpkgs-hammering/package.nix index efd990d4e0ca..fc69ae546621 100644 --- a/pkgs/by-name/ni/nixpkgs-hammering/package.nix +++ b/pkgs/by-name/ni/nixpkgs-hammering/package.nix @@ -41,6 +41,6 @@ rustPlatform.buildRustPackage (finalAttrs: { homepage = "https://github.com/jtojnar/nixpkgs-hammering"; license = lib.licenses.mit; mainProgram = "nixpkgs-hammer"; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; }; }) diff --git a/pkgs/by-name/ox/oxlint/package.nix b/pkgs/by-name/ox/oxlint/package.nix index f604e36a4aec..22215b1749b2 100644 --- a/pkgs/by-name/ox/oxlint/package.nix +++ b/pkgs/by-name/ox/oxlint/package.nix @@ -45,7 +45,7 @@ rustPlatform.buildRustPackage (finalAttrs: { homepage = "https://github.com/oxc-project/oxc"; changelog = "https://github.com/oxc-project/oxc/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "oxlint"; }; }) diff --git a/pkgs/by-name/po/pods/package.nix b/pkgs/by-name/po/pods/package.nix index be04adea7108..25c28917edb5 100644 --- a/pkgs/by-name/po/pods/package.nix +++ b/pkgs/by-name/po/pods/package.nix @@ -22,7 +22,7 @@ nix-update-script, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "pods"; version = "2.2.0"; @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "marhkb"; repo = "pods"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-m+0XjxY0nDAJbVX3r/Jfg+G+RU8Q51e0ZXxkdH69SiQ="; }; @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { }; cargoDeps = rustPlatform.fetchCargoVendor { - inherit pname version src; + inherit (finalAttrs) pname version src; hash = "sha256-GBWaGCNXYCiT/favrIYB30VGMMoQQk1iUh4GTNPerK8="; }; @@ -78,10 +78,10 @@ stdenv.mkDerivation rec { meta = { description = "Podman desktop application"; homepage = "https://github.com/marhkb/pods"; - changelog = "https://github.com/marhkb/pods/releases/tag/v${version}"; + changelog = "https://github.com/marhkb/pods/releases/tag/v${finalAttrs.version}"; license = lib.licenses.gpl3Only; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; platforms = lib.platforms.linux; mainProgram = "pods"; }; -} +}) diff --git a/pkgs/by-name/re/repgrep/package.nix b/pkgs/by-name/re/repgrep/package.nix index 346de29472ef..d908c57823e9 100644 --- a/pkgs/by-name/re/repgrep/package.nix +++ b/pkgs/by-name/re/repgrep/package.nix @@ -9,14 +9,14 @@ ripgrep, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "repgrep"; version = "0.16.1"; src = fetchFromGitHub { owner = "acheronfail"; repo = "repgrep"; - rev = version; + tag = finalAttrs.version; hash = "sha256-hLRl8mKRaufneJNBQqPsH+48ZQGxFBNgulXcaK4/6s4="; }; @@ -47,13 +47,13 @@ rustPlatform.buildRustPackage rec { meta = { description = "Interactive replacer for ripgrep that makes it easy to find and replace across files on the command line"; homepage = "https://github.com/acheronfail/repgrep"; - changelog = "https://github.com/acheronfail/repgrep/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/acheronfail/repgrep/blob/${finalAttrs.version}/CHANGELOG.md"; license = with lib.licenses; [ mit asl20 unlicense ]; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "rgr"; }; -} +}) diff --git a/pkgs/by-name/ty/typer/package.nix b/pkgs/by-name/ty/typer/package.nix index 65fd1a6bec3d..d778c9cafb40 100644 --- a/pkgs/by-name/ty/typer/package.nix +++ b/pkgs/by-name/ty/typer/package.nix @@ -26,7 +26,7 @@ buildGoModule { description = "Typing test in your terminal"; homepage = "https://github.com/maaslalani/typer"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ iamanaws ]; mainProgram = "typer"; }; }