diff options
author | Lorenzo Manacorda <lorenzo@mailbox.org> | 2016-11-06 03:47:22 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-11-06 03:47:22 +0100 |
commit | 98fb9ded4e223ce2fa70b289a29b8bf9854b3917 (patch) | |
tree | d8155ea4e7b3d629e17269dac1f04efe81343b72 | |
parent | 7f2a1e709b8b74257aba5a6ab493e9e3fe49171e (diff) |
light: 0.9 -> 1.0 (#20193)
Update to version 1.0
-rw-r--r-- | pkgs/os-specific/linux/light/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/light/default.nix b/pkgs/os-specific/linux/light/default.nix index 5ca9f69f879a7..1c44c0d78a8ae 100644 --- a/pkgs/os-specific/linux/light/default.nix +++ b/pkgs/os-specific/linux/light/default.nix @@ -1,15 +1,18 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, help2man }: stdenv.mkDerivation rec { - version = "0.9"; + version = "1.0"; name = "light-${version}"; src = fetchurl { url = "https://github.com/haikarainen/light/archive/v${version}.tar.gz"; - sha256 = "1dnzkkg307izvw76gvzsl2vpxd2a1grxg5h82ix505rb9nnmn0d6"; + sha256 = "974608ee42ffe85cfd23184306d56d86ec4e6f4b0518bafcb7b3330998b1af64"; }; + buildInputs = [ help2man ]; installPhase = "mkdir -p $out/bin; cp light $out/bin/"; + preFixup = "make man; mkdir -p $out/man/man1; mv light.1.gz $out/man/man1"; + meta = { description = "GNU/Linux application to control backlights"; homepage = https://haikarainen.github.io/light/; |