about summary refs log tree commit diff
diff options
context:
space:
mode:
authorxeji <36407913+xeji@users.noreply.github.com>2018-10-24 12:31:21 +0200
committerGitHub <noreply@github.com>2018-10-24 12:31:21 +0200
commit5e34b41afa491190e7476171b2b73d323dc6008e (patch)
treeb39801b54f552ee6f7cbfe4a6e6b115a17763383
parent616cfefc27b4b806f2449d40a4e6e0420a31370a (diff)
parentf13f4825bf17d785abf91167c8e4754e08714958 (diff)
downloadnixlib-5e34b41afa491190e7476171b2b73d323dc6008e.tar
nixlib-5e34b41afa491190e7476171b2b73d323dc6008e.tar.gz
nixlib-5e34b41afa491190e7476171b2b73d323dc6008e.tar.bz2
nixlib-5e34b41afa491190e7476171b2b73d323dc6008e.tar.lz
nixlib-5e34b41afa491190e7476171b2b73d323dc6008e.tar.xz
nixlib-5e34b41afa491190e7476171b2b73d323dc6008e.tar.zst
nixlib-5e34b41afa491190e7476171b2b73d323dc6008e.zip
Merge pull request #48979 from Synthetica9/atom-1.32.0
atom, atom-beta: 1.31.2 -> 1.32.0, 1.32.0-beta0 -> 1.33.0-beta0
-rw-r--r--pkgs/applications/editors/atom/default.nix26
1 files changed, 14 insertions, 12 deletions
diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix
index 6cfba39ed4b3..a6525804ee0b 100644
--- a/pkgs/applications/editors/atom/default.nix
+++ b/pkgs/applications/editors/atom/default.nix
@@ -1,6 +1,19 @@
 { stdenv, pkgs, fetchurl, makeWrapper, wrapGAppsHook, gvfs, gtk3, atomEnv }:
 
 let
+  versions = {
+    atom = {
+      version = "1.32.0";
+      sha256 = "0dha8zi4gshxj993ns7ybi7q86pfqwzsasrk3a7b5xrdqbrcm5md";
+    };
+
+    atom-beta = {
+      version = "1.33.0";
+      beta = 0;
+      sha256 = "1x4s12zvfd2gjy7mimndbhs6x9k37jq4dyy6r1mzhwfysix74val";
+    };
+  };
+
   common = pname: {version, sha256, beta ? null}:
       let fullVersion = version + stdenv.lib.optionalString (beta != null) "-beta${toString beta}";
       name = "${pname}-${fullVersion}";
@@ -71,15 +84,4 @@ let
       platforms = platforms.x86_64;
     };
   };
-in stdenv.lib.mapAttrs common {
-  atom = {
-    version = "1.31.2";
-    sha256 = "1szx9p2nz1qzjpig0l8h4hj5mqwpjvkcynn8crh21drply4bpfr0";
-  };
-
-  atom-beta = {
-    version = "1.32.0";
-    beta = 0;
-    sha256 = "12k5cn70a0diyaqbmq6s6l2sbi9i3d9p7i38qnm97lnw0y1kh0jm";
-  };
-}
+in stdenv.lib.mapAttrs common versions