3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/batsignal/default.nix

26 lines
700 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libnotify, pkg-config, glib }:
2020-06-28 00:49:46 +01:00
stdenv.mkDerivation rec {
pname = "batsignal";
2020-11-12 13:29:06 +00:00
version = "1.2.0";
2020-06-28 00:49:46 +01:00
src = fetchFromGitHub {
owner = "electrickite";
repo = "batsignal";
rev = version;
2020-11-12 13:29:06 +00:00
sha256 = "0yc7xgwb3i4m8m9kg2xspqig3s2qgh2i9bkalvnkziayjb7y59qn";
2020-06-28 00:49:46 +01:00
};
buildInputs = [ libnotify glib ];
nativeBuildInputs = [ pkg-config ];
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {
2020-06-28 00:49:46 +01:00
homepage = "https://github.com/electrickite/batsignal";
description = "Lightweight battery daemon written in C";
license = licenses.isc;
maintainers = with maintainers; [ SlothOfAnarchy ];
platforms = platforms.linux;
};
}