badgemagic-rs: init at unstable-2025-07-15
Co-authored-by: qzylinra <225773816+qzylinra@users.noreply.github.com>
This commit is contained in:
co-authored by
qzylinra
parent
27208affe7
commit
3e5d10c572
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
dbus,
|
||||
systemdLibs,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "badgemagic-rs";
|
||||
version = "0.1.0-unstable-2025-07-15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fossasia";
|
||||
repo = "badgemagic-rs";
|
||||
rev = "5d745ab8fda418204425f3df0e969a98bf479f2d";
|
||||
hash = "sha256-IyPUPNbXkLNz/cuzVuzrD2iCE1ddeO3xkAOKhbrNU+k=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-jT/pJLqdWGTpQFlnhuZo1FLqRQJWXCD2tuDB2AEyNPQ=";
|
||||
|
||||
buildFeatures = [ "cli" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus
|
||||
systemdLibs
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Badge Magic in Rust";
|
||||
homepage = "https://github.com/fossasia/badgemagic-rs";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ matthewcroughan ];
|
||||
mainProgram = "badgemagic-rs";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user