iwe: init at 0.0.17 (#379477)
This commit is contained in:
@@ -18192,6 +18192,12 @@
|
||||
githubId = 301903;
|
||||
name = "Chip Collier";
|
||||
};
|
||||
phrmendes = {
|
||||
name = "Pedro Mendes";
|
||||
email = "pedrohrmendes@proton.me";
|
||||
github = "phrmendes";
|
||||
githubId = 22376151;
|
||||
};
|
||||
phrogg = {
|
||||
name = "Phil Roggenbuck";
|
||||
email = "nixpkgs@phrogg.de";
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "iwe";
|
||||
version = "0.0.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iwe-org";
|
||||
repo = "iwe";
|
||||
tag = "iwe-v${version}";
|
||||
hash = "sha256-eE84KzYJTJ39UDQt3VZpSIba/P+7VFR9K6+MSMlg0Wc=";
|
||||
};
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-K8RxVYHh0pStQyHMiLLeUakAoK1IMoUtCNg70/NfDiI=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"--package=iwe"
|
||||
"--package=iwes"
|
||||
];
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgramArg = "--version";
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Personal knowledge management system (editor plugin & command line utility)";
|
||||
homepage = "https://iwe.md/";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ phrmendes ];
|
||||
mainProgram = "iwe";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user