1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

Merge pull request #91698 from helsinki-systems/init/batsignal

batsignal: Init at 1.0.0
This commit is contained in:
Maximilian Bosch 2020-06-28 18:10:11 +02:00 committed by GitHub
commit bd0d0e935c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, libnotify, pkg-config, glib }:
stdenv.mkDerivation rec {
pname = "batsignal";
version = "1.0.0";
src = fetchFromGitHub {
owner = "electrickite";
repo = "batsignal";
rev = "${version}";
sha256 = "wy7YhgKfz07u0bp7rWpze+KmSdooOkmU7giaBX3wWkY=";
};
buildInputs = [ libnotify glib ];
nativeBuildInputs = [ pkg-config ];
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.lib; {
homepage = "https://github.com/electrickite/batsignal";
description = "Lightweight battery daemon written in C";
license = licenses.isc;
maintainers = with maintainers; [ SlothOfAnarchy ];
platforms = platforms.linux;
};
}

View file

@ -18958,6 +18958,8 @@ in
batik = callPackage ../applications/graphics/batik { };
batsignal = callPackage ../applications/misc/batsignal { };
baudline = callPackage ../applications/audio/baudline { };
bb = callPackage ../applications/misc/bb { };