Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
912 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
libgit2,
openssl,
zlib,
}:
rustPlatform.buildRustPackage rec {
pname = "projectable";
version = "1.3.2";
src = fetchFromGitHub {
owner = "dzfrias";
repo = "projectable";
rev = version;
hash = "sha256-GM/dPmLnv1/Qj6QhBxPu5kO/SDnbY7Ntupf1FGkmrUY=";
};
cargoHash = "sha256-b/jB34Y1QXJsOLBliNeOxm1l4TIoEex5y6pDVPC4UVw=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libgit2
openssl
zlib
];
env = {
LIBGIT2_NO_VENDOR = 1;
OPENSSL_NO_VENDOR = true;
};
meta = with lib; {
description = "TUI file manager built for projects";
homepage = "https://github.com/dzfrias/projectable";
changelog = "https://github.com/dzfrias/projectable/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "prj";
};
}