Loading pkgs/by-name/lo/lon/package.nix +22 −3 Original line number Diff line number Diff line Loading @@ -2,23 +2,42 @@ rustPlatform, lib, fetchFromGitHub, makeBinaryWrapper, nix-prefetch-git, gitMinimal, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "lon"; version = "0.3.0"; version = "0.4.0"; src = fetchFromGitHub { owner = "nikstur"; repo = "lon"; tag = version; hash = "sha256-LtZhEfdO/kTbeDG/lhiH+9QPw3kgov72Xn1NelgNsE0="; hash = "sha256-tF9nzTIX0pU/N+h6i7ftn8RhwVB1o3O9+g+sziJvGwc="; }; sourceRoot = "source/rust/lon"; useFetchCargoVendor = true; cargoHash = "sha256-cr1+WBlq/uuOVDIbgN5UhsQ0ISLDYOxyGRnQ6ntEH5w="; cargoHash = "sha256-Aa8Rkny5hBfQpGcZYJrbzU00ExJPTfhQzKDbHAt8rXE="; nativeBuildInputs = [ makeBinaryWrapper ]; postInstall = '' wrapProgram $out/bin/lon --prefix PATH : ${ lib.makeBinPath [ nix-prefetch-git gitMinimal ] } ''; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Lock & update Nix dependencies"; Loading Loading
pkgs/by-name/lo/lon/package.nix +22 −3 Original line number Diff line number Diff line Loading @@ -2,23 +2,42 @@ rustPlatform, lib, fetchFromGitHub, makeBinaryWrapper, nix-prefetch-git, gitMinimal, nix-update-script, }: rustPlatform.buildRustPackage rec { pname = "lon"; version = "0.3.0"; version = "0.4.0"; src = fetchFromGitHub { owner = "nikstur"; repo = "lon"; tag = version; hash = "sha256-LtZhEfdO/kTbeDG/lhiH+9QPw3kgov72Xn1NelgNsE0="; hash = "sha256-tF9nzTIX0pU/N+h6i7ftn8RhwVB1o3O9+g+sziJvGwc="; }; sourceRoot = "source/rust/lon"; useFetchCargoVendor = true; cargoHash = "sha256-cr1+WBlq/uuOVDIbgN5UhsQ0ISLDYOxyGRnQ6ntEH5w="; cargoHash = "sha256-Aa8Rkny5hBfQpGcZYJrbzU00ExJPTfhQzKDbHAt8rXE="; nativeBuildInputs = [ makeBinaryWrapper ]; postInstall = '' wrapProgram $out/bin/lon --prefix PATH : ${ lib.makeBinPath [ nix-prefetch-git gitMinimal ] } ''; passthru = { updateScript = nix-update-script { }; }; meta = { description = "Lock & update Nix dependencies"; Loading