1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 pkg-config,
6 libgit2,
7 openssl,
8 zlib,
9}:
10
11rustPlatform.buildRustPackage rec {
12 pname = "projectable";
13 version = "1.3.2";
14
15 src = fetchFromGitHub {
16 owner = "dzfrias";
17 repo = "projectable";
18 rev = version;
19 hash = "sha256-GM/dPmLnv1/Qj6QhBxPu5kO/SDnbY7Ntupf1FGkmrUY=";
20 };
21
22 cargoHash = "sha256-b/jB34Y1QXJsOLBliNeOxm1l4TIoEex5y6pDVPC4UVw=";
23
24 nativeBuildInputs = [
25 pkg-config
26 ];
27
28 buildInputs = [
29 libgit2
30 openssl
31 zlib
32 ];
33
34 env = {
35 LIBGIT2_NO_VENDOR = 1;
36 OPENSSL_NO_VENDOR = true;
37 };
38
39 meta = with lib; {
40 description = "TUI file manager built for projects";
41 homepage = "https://github.com/dzfrias/projectable";
42 changelog = "https://github.com/dzfrias/projectable/releases/tag/${src.rev}";
43 license = licenses.mit;
44 maintainers = with maintainers; [ figsoda ];
45 mainProgram = "prj";
46 };
47}