Loading pkgs/by-name/ls/lstr/package.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gitMinimal, libgit2, openssl, versionCheckHook, zlib, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "lstr"; version = "0.2.0"; src = fetchFromGitHub { owner = "bgreenwell"; repo = "lstr"; tag = "v${finalAttrs.version}"; hash = "sha256-Bg2tJYnXpJQasmcRv+ZIZAVteKUCuTgFKVRHw1CCiAQ="; }; cargoHash = "sha256-KlO/Uz9UPea4DFC6U4hvn4kOWSzUmYmckw+IUstcmeQ="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libgit2 openssl zlib ]; nativeCheckInputs = [ gitMinimal ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; meta = { description = "Fast, minimalist directory tree viewer written in Rust"; homepage = "https://github.com/bgreenwell/lstr"; changelog = "https://github.com/bgreenwell/lstr/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ philiptaron ]; mainProgram = "lstr"; }; }) Loading
pkgs/by-name/ls/lstr/package.nix 0 → 100644 +49 −0 Original line number Diff line number Diff line { lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, gitMinimal, libgit2, openssl, versionCheckHook, zlib, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "lstr"; version = "0.2.0"; src = fetchFromGitHub { owner = "bgreenwell"; repo = "lstr"; tag = "v${finalAttrs.version}"; hash = "sha256-Bg2tJYnXpJQasmcRv+ZIZAVteKUCuTgFKVRHw1CCiAQ="; }; cargoHash = "sha256-KlO/Uz9UPea4DFC6U4hvn4kOWSzUmYmckw+IUstcmeQ="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libgit2 openssl zlib ]; nativeCheckInputs = [ gitMinimal ]; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; meta = { description = "Fast, minimalist directory tree viewer written in Rust"; homepage = "https://github.com/bgreenwell/lstr"; changelog = "https://github.com/bgreenwell/lstr/blob/v${finalAttrs.version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ philiptaron ]; mainProgram = "lstr"; }; })