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
-4
View File
@@ -31,9 +31,6 @@ rec {
cp = python-final.callPackage;
in
{
django-rapyd-modernauth = cp ./django-rapyd-modernauth.nix { };
graypy = cp ./graypy.nix { };
itg-django-utils = cp ./itg-django-utils.nix { };
xonsh-apipenv = cp ./xonsh-apipenv.nix { };
}
)
@@ -43,7 +40,6 @@ rec {
enwiki-dump = prev.callPackage ./enwiki-dump.nix { };
# Overrides of packages
brew = prev.callPackage ./homebrew.nix { };
copier = (
if is2405 then
prev.copier.overridePythonAttrs (_: {
-43
View File
@@ -1,43 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, click
, django
, python-dotenv
, pytz
, setuptools
, sqlparse
, zipp
}:
buildPythonPackage rec {
pname = "django-rapyd-modernauth";
version = "0.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kDZjI32LcKsmLI38ruINKOUfi6lWTIqXF5qIQHi0LeQ=";
};
meta = with lib; {
description = "A Django application that provides a custom User model where the username is the email address.";
homepage = "https://github.com/karthicraghupathi/django_rapyd_modernauth";
license = licenses.afl20;
maintainers = [ ];
};
doCheck = false;
buildInputs = [
click
django
python-dotenv
pytz
setuptools
sqlparse
zipp
];
nativeBuildInputs = [
];
}
-34
View File
@@ -1,34 +0,0 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, amqplib
, mock
, pytestCheckHook
, requests
,
}:
buildPythonPackage rec {
pname = "graypy";
version = "2.1.0";
src = fetchFromGitHub {
owner = "severb";
repo = "graypy";
rev = "2.1.0";
hash = "sha256-y1HbJEpqnAgOeB+zXKy3iUT6Lpv0bufjL7+jWUSAjFs=";
};
nativeCheckInputs = [
amqplib
mock
pytestCheckHook
requests
];
meta = with lib; {
description = "Python logging handlers that send messages in the Graylog Extended Log Format (GELF).";
homepage = "https://github.com/severb/graypy";
license = licenses.bsd3;
};
}
-42
View File
@@ -1,42 +0,0 @@
{ lib
, pkgs
, stdenv
, bash
, curl
, git
, ruby
, ...
}:
stdenv.mkDerivation rec {
pname = "homebrew-installer";
version = "20230531";
src = pkgs.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 ];
};
}
-34
View File
@@ -1,34 +0,0 @@
{ lib
, buildPythonPackage
, fetchurl
, django
, djangorestframework
, graypy
, setuptools
,
}:
buildPythonPackage rec {
pname = "itg-django-utils";
version = "0.1.11";
src = fetchurl {
url = "https://pypi.ivrtechnology.com/packages/itg-django-utils-0.1.12.tar.gz";
hash = "sha256-LbOl4L4UZbRTlLuBL4L3ser6+WDuP3R5a03EIh1xSK8=";
};
propagatedBuildInputs = [
django
djangorestframework
graypy
setuptools
];
meta = with lib; {
description = "ITG specific stuff";
homepage = "http://www.ivrtechnology.com";
maintainers = [ ];
};
doCheck = false;
}