Alloy
This commit is contained in:
parent
21ed23a8df
commit
cc7bb2aaba
|
@ -2,10 +2,25 @@
|
|||
|
||||
let
|
||||
alacritty = import ./alacritty/alacritty.nix pkgs;
|
||||
alloy6-mac = pkgs.stdenv.mkDerivation rec {
|
||||
name = "alloy6";
|
||||
version = "6.0.0";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/AlloyTools/org.alloytools.alloy/releases/download/v${version}/alloy.dmg";
|
||||
sha256 = "sha256-tRMAQQuWq+aWvhS+mLUnfIpzLw1ydepiuD16uFFRvlI=";
|
||||
};
|
||||
nativeBuildInputs = [ pkgs.undmg ];
|
||||
sourceRoot = ".";
|
||||
installPhase = ''
|
||||
mkdir -p $out/Applications
|
||||
cp -r Alloy.app $out/Applications
|
||||
'';
|
||||
};
|
||||
|
||||
in rec {
|
||||
home.packages = with pkgs; [
|
||||
fira-code ibm-plex
|
||||
];
|
||||
] ++ (if pkgs.stdenv.isDarwin then [alloy6-mac] else [pkgs.alloy6]);
|
||||
|
||||
programs.alacritty = alacritty;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user