iwe: init at 0.0.17 (#379477)

This commit is contained in:
Aleksana
2025-02-11 18:32:06 +08:00
committed by GitHub
2 changed files with 46 additions and 0 deletions
+6
View File
@@ -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";
+40
View File
@@ -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";
};
}