diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-26 16:12:40 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-26 16:12:40 +0100 |
commit | ad396ed96b5eb93bca1b42540112ab557fbf7f25 (patch) | |
tree | d072a02e7d051963c38c08b016cc07bc59d95f9e | |
parent | ad5bc34a23eeb3932ac18e0497c8eb7f8dda4ec6 (diff) | |
download | pnpkgs-ad396ed96b5eb93bca1b42540112ab557fbf7f25.tar.gz pnpkgs-ad396ed96b5eb93bca1b42540112ab557fbf7f25.zip |
Add hyperion-rpi3
-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/"; + }; +} |