diff options
Diffstat (limited to 'pkgs/applications/misc/redshift/default.nix')
-rw-r--r-- | pkgs/applications/misc/redshift/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix index abe25afda5f79..e62deb9a34889 100644 --- a/pkgs/applications/misc/redshift/default.nix +++ b/pkgs/applications/misc/redshift/default.nix @@ -7,13 +7,14 @@ }: let - version = "1.11"; mkFlag = flag: name: if flag then "--enable-${name}" else "--disable-${name}"; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "redshift-${version}"; + version = "1.11"; + src = fetchurl { sha256 = "0ngkwj7rg8nfk806w0sg443w6wjr91xdc0zisqfm5h2i77wm1qqh"; url = "https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz"; @@ -51,7 +52,6 @@ stdenv.mkDerivation { ''; meta = with stdenv.lib; { - inherit version; description = "Gradually change screen color temperature"; longDescription = '' The color temperature is set according to the position of the |