ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / by-name / ba / bato / package.nix
blobfd3a2ad5851d864cfa3edfb7c1f087e3d7f58c3a
2   lib,
3   pkg-config,
4   cmake,
5   libnotify,
6   rustPlatform,
7   fetchFromGitHub,
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "bato";
12   version = "0.1.7";
14   src = fetchFromGitHub {
15     owner = "doums";
16     repo = "bato";
17     rev = "v${version}";
18     hash = "sha256-i2gw8vXiKutq26ACzkVXH3kED7jAngSv2mNo9P3qXnA=";
19   };
21   cargoHash = "sha256-cqrSyZjfBSfF015nwOcRy2rkE4XzFPxJCQZGrqZXLEA=";
23   nativeBuildInputs = [
24     pkg-config
25     cmake
26   ];
28   buildInputs = [ libnotify ];
30   meta = {
31     description = "Small program to send battery notifications";
32     homepage = "https://github.com/doums/bato";
33     changelog = "https://github.com/doums/bato/releases/tag/v${version}";
34     license = lib.licenses.mpl20;
35     maintainers = with lib.maintainers; [ HaskellHegemonie ];
36     platforms = lib.platforms.linux;
37     mainProgram = "bato";
38   };