diff options
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/hyperion-rpi3/default.nix | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 6918718..d3e671d 100644 --- a/default.nix +++ b/default.nix @@ -21,6 +21,7 @@ task-spooler = pkgs.callPackage ./pkgs/task-spooler { }; wywozik-todo = pkgs.callPackage ./pkgs/wywozik-todo { }; agate = pkgs.callPackage ./pkgs/agate { }; + hyperion-rpi3 = pkgs.callPackage ./pkgs/hyperion-rpi3 { }; st = pkgs.callPackage ./pkgs/larbs/st { }; dwm = pkgs.callPackage ./pkgs/larbs/dwm { }; diff --git a/pkgs/hyperion-rpi3/default.nix b/pkgs/hyperion-rpi3/default.nix new file mode 100644 index 0000000..d1e8c38 --- /dev/null +++ b/pkgs/hyperion-rpi3/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl }: +with stdenv.lib; + +stdenv.mkDerivation { + name = "hyperion-rpi3"; + + src = fetchurl { + url = "https://sourceforge.net/projects/hyperion-project/files/release/hyperion_rpi3.tar.gz"; + sha256 = "04rf1q68b80pmb9m3pqmbr761hb3zpqsb7k2bjgd8x8kyw21dh6z"; + }; + + buildPhase = ""; + installPhase = '' + mkdir -p $out + cp -r bin $out/bin + ''; + + meta = { + description = "Hyperion is an open source ambient light software. Feel free to join us and contribute new features!"; + homepage = "https://hyperion-project.org/"; + }; +} |