joshuto: init at 0.9.0
This commit is contained in:
parent
e1f9d5fdac
commit
ebc030ce75
2 changed files with 35 additions and 0 deletions
31
pkgs/applications/misc/joshuto/default.nix
Normal file
31
pkgs/applications/misc/joshuto/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ fetchFromGitHub, lib, rustPlatform, stdenv, SystemConfiguration }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "joshuto";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kamiyaa";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "08d6h7xwcgycw5bdzwwc6aaikcrw3yc7inkiydgml9q261kql7zl";
|
||||
# upstream includes an outdated Cargo.lock that stops cargo from compiling
|
||||
postFetch = ''
|
||||
mkdir -p $out
|
||||
tar xf $downloadedFile --strip=1 -C $out
|
||||
substituteInPlace $out/Cargo.lock \
|
||||
--replace 0.8.6 ${version}
|
||||
'';
|
||||
};
|
||||
|
||||
cargoSha256 = "1scrqm7fs8y7anfiigimj7y5rjxcc2qvrxiq8ai7k5cwfc4v1ghm";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin SystemConfiguration;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ranger-like terminal file manager written in Rust";
|
||||
homepage = "https://github.com/kamiyaa/joshuto";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
|
@ -6311,6 +6311,10 @@ with pkgs;
|
|||
|
||||
jo = callPackage ../development/tools/jo { };
|
||||
|
||||
joshuto = callPackage ../applications/misc/joshuto {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
};
|
||||
|
||||
jrnl = python3Packages.callPackage ../applications/misc/jrnl { };
|
||||
|
||||
jsawk = callPackage ../tools/text/jsawk { };
|
||||
|
|
Loading…
Reference in a new issue