mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 12:08:02 +03:00
bato: init at 0.1.7
Signed-off-by: HaskellHegemonie <znerol@mail.de>
This commit is contained in:
parent
a3d465e708
commit
c39e28cef8
39
pkgs/by-name/ba/bato/package.nix
Normal file
39
pkgs/by-name/ba/bato/package.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user