1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/applications/misc/blugon/default.nix

32 lines
1,013 B
Nix
Raw Normal View History

2019-11-15 01:37:43 +00:00
{ stdenv, fetchFromGitHub, python3, libX11, libXrandr }:
stdenv.mkDerivation rec {
pname = "blugon";
2020-01-30 20:38:30 +00:00
version = "1.12.0";
2019-11-15 01:37:43 +00:00
src = fetchFromGitHub {
owner = "jumper149";
repo = pname;
rev = version;
2020-01-30 20:38:30 +00:00
sha256 = "0vdhq8v011awhpkccbcmigj9c46widyzh0m5knafapanai3kv7ii";
2019-11-15 01:37:43 +00:00
};
buildInputs = [ python3 libX11 libXrandr ];
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "Simple and configurable Blue Light Filter for X";
longDescription = ''
blugon is a simple and fast Blue Light Filter, that is highly configurable and provides a command line interface.
The program can be run just once or as a daemon (manually or via systemd).
There are several different backends available.
blugon calculates the screen color from your local time and configuration.
'';
license = licenses.asl20;
homepage = "https://github.com/jumper149/blugon";
platforms = platforms.unix;
maintainers = with maintainers; [ jumper149 ];
};
}