Merge pull request #335246 from HaskellHegemonie/init-bato

bato: init at 0.1.7
This commit is contained in:
Robert Schütz 2024-08-17 04:25:54 -07:00 committed by GitHub
commit 9b503a951d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 46 additions and 0 deletions

View File

@ -8024,6 +8024,13 @@
githubId = 62279738;
name = "Håkon Arvidsen";
};
HaskellHegemonie = {
name = "HaskellHegemonie";
email = "haskellisierer@proton.me";
github = "HaskellHegemonie";
githubId = 73712423;
keys = [ { fingerprint = "A559 0A2A 5B06 1923 3917 5F13 5622 C205 6513 577B"; } ];
};
haslersn = {
email = "haslersn@fius.informatik.uni-stuttgart.de";
github = "haslersn";

View File

@ -0,0 +1,39 @@
{
lib,
pkg-config,
cmake,
libnotify,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "bato";
version = "0.1.7";
src = fetchFromGitHub {
owner = "doums";
repo = "bato";
rev = "v${version}";
hash = "sha256-i2gw8vXiKutq26ACzkVXH3kED7jAngSv2mNo9P3qXnA=";
};
cargoHash = "sha256-cqrSyZjfBSfF015nwOcRy2rkE4XzFPxJCQZGrqZXLEA=";
nativeBuildInputs = [
pkg-config
cmake
];
buildInputs = [ libnotify ];
meta = {
description = "Small program to send battery notifications";
homepage = "https://github.com/doums/bato";
changelog = "https://github.com/doums/bato/releases/tag/v${version}";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ HaskellHegemonie ];
platforms = lib.platforms.linux;
mainProgram = "bato";
};
}