Merge pull request #114277 from cab404/atom-154

This commit is contained in:
Sandro 2021-02-26 19:20:40 +01:00 committed by GitHub
commit edd0cce82b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,18 +3,19 @@
let
versions = {
atom = {
version = "1.48.0";
sha256 = "1693bxbylf6jhld9bdcr5pigk36wqlbj89praldpz9s96yxig9s1";
version = "1.54.0";
sha256 = "sha256-21AURgomEjuiTzeJ4MIx0mkyVi0b0mVdmFsFGNLXRP4";
};
atom-beta = {
version = "1.49.0";
version = "1.55.0";
beta = 0;
sha256 = "1fr6m4a7shdj3wpn6g4n95cqpkkg2x9srwjf7bqxv9f3d5jb1y33";
sha256 = "sha256-PICkTt54cPkDJVnXBTtSHUQVbmosOpZfVAiD5A3/n+Q=";
broken = true;
};
};
common = pname: {version, sha256, beta ? null}:
common = pname: {version, sha256, beta ? null, broken ? false}:
let fullVersion = version + lib.optionalString (beta != null) "-beta${toString beta}";
name = "${pname}-${fullVersion}";
in stdenv.mkDerivation {
@ -88,6 +89,7 @@ let
license = licenses.mit;
maintainers = with maintainers; [ offline ysndr ];
platforms = platforms.x86_64;
inherit broken;
};
};
in lib.mapAttrs common versions