More moving out of overlays

Moved homebrew installer package out of overlays
Removed ITG specific Python packages entirely
This commit is contained in:
Greg Hellings
2024-10-11 13:07:41 -05:00
parent 6a3f482792
commit 54dfebe7f7
7 changed files with 21 additions and 134 deletions
+1
View File
@@ -9,6 +9,7 @@ in
#iso = top.self.nixosConfigurations.iso.config.system.build.isoImage;
#iso-beta = self.nixosConfigurations.iso-beta.config.system.build.isoImage;
aacs = c ./aacs.nix { };
brew = c ./homebrew.nix { };
create_ssl = c ./create_ssl.nix { };
inject-darwin = c ./inject-darwin.nix { };
inject = c ./inject.nix { };
+48
View File
@@ -0,0 +1,48 @@
{
lib,
fetchFromGitHub,
stdenv,
bash,
curl,
git,
ruby,
...
}:
stdenv.mkDerivation rec {
pname = "homebrew-installer";
version = "20230531";
src = fetchFromGitHub {
owner = "Homebrew";
repo = "install";
rev = "716a1d024f32890ef75ea82c18a769abc24e9475";
sha256 = "sha256-xhxWWeCJm49bDzmBT2GHSC0CK1SoQArBhfh5sltGY5o=";
};
buildInputs = [
bash
curl
git
ruby
];
installPhase = ''
mkdir -p $out/bin/
cp ${src}/install.sh $out/bin/install-homebrew.sh
cp ${src}/uninstall.sh $out/bin/uninstall-homebrew.sh
'';
meta = with lib; {
description = "Runs the homebrew installer";
homepage = "https://github.com/Homebrew/";
license = licenses.bsd2;
platforms = [
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux"
"aarch64-linux"
];
maintainers = [ maintainers.greg ];
};
}