summary refs log tree commit diff
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2019-11-17 13:47:40 -0800
committerGitHub <noreply@github.com>2019-11-17 13:47:40 -0800
commit30fa836bccd0ac826c25d52304d57799c83cd6b7 (patch)
treef295ed9a9682b331d4e7f0626bc7a5b603b20738
parent6160a5f7719196c4424265343442cde606c693f8 (diff)
parent08d2820fcc4b80bd13c31d100dec5a80783aa563 (diff)
downloadnixpkgs-30fa836bccd0ac826c25d52304d57799c83cd6b7.tar
nixpkgs-30fa836bccd0ac826c25d52304d57799c83cd6b7.tar.gz
nixpkgs-30fa836bccd0ac826c25d52304d57799c83cd6b7.tar.bz2
nixpkgs-30fa836bccd0ac826c25d52304d57799c83cd6b7.tar.lz
nixpkgs-30fa836bccd0ac826c25d52304d57799c83cd6b7.tar.xz
nixpkgs-30fa836bccd0ac826c25d52304d57799c83cd6b7.tar.zst
nixpkgs-30fa836bccd0ac826c25d52304d57799c83cd6b7.zip
Merge pull request #73476 from jumper149/master
blugon: init at 1.11.4
-rw-r--r--maintainers/maintainer-list.nix6
-rw-r--r--pkgs/applications/misc/blugon/default.nix31
-rw-r--r--pkgs/top-level/all-packages.nix2
3 files changed, 39 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index a27ef59fc15..3002f5b3909 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -3402,6 +3402,12 @@
     github = "juliendehos";
     name = "Julien Dehos";
   };
+  jumper149 = {
+    email = "felixspringer149@gmail.com";
+    github = "jumper149";
+    githubId = 39434424;
+    name = "Felix Springer";
+  };
   justinwoo = {
     email = "moomoowoo@gmail.com";
     github = "justinwoo";
diff --git a/pkgs/applications/misc/blugon/default.nix b/pkgs/applications/misc/blugon/default.nix
new file mode 100644
index 00000000000..e6f956cc091
--- /dev/null
+++ b/pkgs/applications/misc/blugon/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub, python3, libX11, libXrandr }:
+
+stdenv.mkDerivation rec {
+  pname = "blugon";
+  version = "1.11.4";
+
+  src = fetchFromGitHub {
+    owner = "jumper149";
+    repo = pname;
+    rev = version;
+    sha256 = "0x320w2h5nlcgha4345i8ns15akb4kmrdgkh710s4r1n1by4x11r";
+  };
+
+  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 ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 5a14cbdbca5..e53a8c37ad7 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -18009,6 +18009,8 @@ in
                         libXi libXext libXfixes libXcomposite;
   };
 
+  blugon = callPackage ../applications/misc/blugon { };
+
   bombono = callPackage ../applications/video/bombono {};
 
   bomi = libsForQt5.callPackage ../applications/video/bomi {