selfci: init at 0-unstable-2026-01-17 (#481172)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index 8f7a1e2..e2062c4 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -10,7 +10,7 @@ readme = "README.md"
|
||||
keywords = ["ci"]
|
||||
categories = ["development-tools"]
|
||||
authors = ["dpc <dpc@dpc.pw>"]
|
||||
-rust-version = "1.92"
|
||||
+rust-version = "1.91"
|
||||
|
||||
[[bin]]
|
||||
name = "selfci"
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
fetchgit,
|
||||
nix-update-script,
|
||||
rustPlatform,
|
||||
git,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "selfci";
|
||||
version = "0-unstable-2026-01-17";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://radicle.dpc.pw/z2tDzYbAXxTQEKTGFVwiJPajkbeDU.git";
|
||||
rev = "83e693dada851ce0da32713869d3da02c52ed257";
|
||||
hash = "sha256-f0BfHvIQnhhiPie3a+9MeEGzZ+/KcgrbKBneu8Jo+xs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Z3f35HIZiNeKeDNFPUVkFvL2OpMWzqRvxOL5/hUEzJw=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
patches = [
|
||||
./Cargo.toml.patch
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out"/bin/selfci \
|
||||
--prefix PATH : ${lib.makeBinPath [ git ]}
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Minimalistic local-first Unix-philosophy-abiding CI";
|
||||
homepage = "https://app.radicle.xyz/nodes/radicle.dpc.pw/rad%3Az2tDzYbAXxTQEKTGFVwiJPajkbeDU";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
dvn0
|
||||
];
|
||||
mainProgram = "selfci";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user