mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #114277 from cab404/atom-154
This commit is contained in:
commit
edd0cce82b
1 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue