projectable: init at 1.2.0 (#240154)

https://github.com/dzfrias/projectable
This commit is contained in:
figsoda 2023-06-28 08:14:14 -04:00 committed by GitHub
parent 0a5cb5c47e
commit 53f3125e6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,49 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libgit2_1_5
, openssl
, zlib
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
pname = "projectable";
version = "1.2.0";
src = fetchFromGitHub {
owner = "dzfrias";
repo = "projectable";
rev = version;
hash = "sha256-mN8kqh17qGJWOwrdH9fCPApFQBbgCs6FaVg38SNJGP0=";
};
cargoHash = "sha256-SQ117gFkqex3GFl7RnorSfPo7e0Eefg1l3L0Vyi/tpU=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libgit2_1_5
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
];
env = {
OPENSSL_NO_VENDOR = true;
};
meta = with lib; {
description = "A 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";
};
}

View file

@ -11656,6 +11656,8 @@ with pkgs;
profile-sync-daemon = callPackage ../tools/misc/profile-sync-daemon { };
projectable = callPackage ../applications/file-managers/projectable { };
projectlibre = callPackage ../applications/misc/projectlibre {
jre = jre8;
jdk = jdk8;