2023-06-08 00:53:19 -05:00
|
|
|
final: prev:
|
2022-10-15 00:19:38 -05:00
|
|
|
|
|
|
|
|
let
|
2023-06-28 22:51:18 -05:00
|
|
|
myPackages = pypackages: with pypackages; [
|
2022-11-01 08:35:06 -05:00
|
|
|
black
|
|
|
|
|
copier
|
|
|
|
|
dateutil
|
|
|
|
|
flake8
|
|
|
|
|
ipython
|
2022-11-17 13:36:53 -06:00
|
|
|
jedi
|
2023-06-13 09:39:32 -05:00
|
|
|
jedi-language-server
|
2022-11-17 13:36:53 -06:00
|
|
|
mypy
|
|
|
|
|
pylint
|
2022-11-01 08:35:06 -05:00
|
|
|
pyyaml
|
|
|
|
|
responses
|
|
|
|
|
ruamel-yaml
|
|
|
|
|
tox
|
|
|
|
|
typing-extensions
|
|
|
|
|
virtualenv
|
|
|
|
|
];
|
|
|
|
|
|
2023-06-08 00:53:19 -05:00
|
|
|
myPython = prev.python3.withPackages myPackages;
|
2022-11-10 12:21:59 -06:00
|
|
|
macOver = file: og:
|
2023-06-08 00:53:19 -05:00
|
|
|
if prev.stdenv.isDarwin then
|
|
|
|
|
(prev.callPackage file {}) else
|
|
|
|
|
prev."${og}";
|
2022-11-01 08:35:06 -05:00
|
|
|
|
2023-07-26 22:32:17 -05:00
|
|
|
buildFirefoxXpiAddon = final.nur.repos.rycee.lib.buildFirefoxXpiAddon;
|
2023-04-25 13:49:30 -05:00
|
|
|
|
2022-10-15 00:19:38 -05:00
|
|
|
in rec {
|
2022-11-01 08:35:06 -05:00
|
|
|
gregpy = myPython;
|
2023-07-26 22:32:17 -05:00
|
|
|
bypass-paywalls = final.nur.repos.rycee.firefox-addons.bypass-paywalls-clean.override {
|
|
|
|
|
version = "3.2.6.0";
|
|
|
|
|
url = "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-3.2.6.0-custom.xpi";
|
|
|
|
|
sha256 = "sha256-dEdqg0q4w+evky7oZ4l33GPEBEc/PFG2dCsQkVY9/3g=";
|
|
|
|
|
};
|
2022-11-01 08:35:06 -05:00
|
|
|
|
2023-06-13 09:39:32 -05:00
|
|
|
## Testing adding python packages in the correct manner
|
|
|
|
|
pythonPackagesExtensions = (prev.pythonPackagesExtensions or []) ++ [
|
2023-06-28 22:51:18 -05:00
|
|
|
(python-final: python-prev: let cp = python-final.callPackage; in {
|
|
|
|
|
django-rapyd-modernauth = cp ./django-rapyd-modernauth.nix {};
|
2023-06-19 16:03:16 -05:00
|
|
|
xonsh-apipenv = cp ./xonsh-apipenv.nix {};
|
|
|
|
|
xonsh-direnv = cp ./xonsh-direnv.nix {};
|
2023-07-27 12:30:27 -05:00
|
|
|
xontrib-vox = cp ./xonsh-vox.nix {};
|
2023-06-28 22:51:18 -05:00
|
|
|
copier = cp ./copier.nix {
|
|
|
|
|
inherit (python-final)
|
|
|
|
|
iteration-utilities
|
|
|
|
|
jinja2-ansible-filters
|
|
|
|
|
pyyaml-include;
|
|
|
|
|
};
|
|
|
|
|
iteration-utilities = cp ./iteration-utilities.nix {};
|
|
|
|
|
jinja2-ansible-filters = cp ./jinja2-ansible-filters.nix {};
|
|
|
|
|
pyyaml-include = cp ./pyyaml-include.nix {};
|
2023-06-13 09:39:32 -05:00
|
|
|
})
|
|
|
|
|
];
|
|
|
|
|
|
2023-06-08 00:53:19 -05:00
|
|
|
brew = prev.callPackage ./homebrew.nix {};
|
2023-05-02 00:47:13 -05:00
|
|
|
|
2023-06-08 00:53:19 -05:00
|
|
|
enwiki-dump = prev.callPackage ./enwiki-dump.nix {};
|
|
|
|
|
hms = prev.callPackage ./hms.nix {
|
|
|
|
|
pkgs = final.pkgs;
|
2022-09-09 13:30:12 -05:00
|
|
|
};
|
2023-06-28 23:10:07 -05:00
|
|
|
inject = prev.callPackage ./inject.nix { inherit (final) pkgs; };
|
2023-06-08 00:53:19 -05:00
|
|
|
setup-ssh = prev.callPackage ./setup-ssh.nix {
|
|
|
|
|
pkgs = final.pkgs;
|
2023-03-17 20:08:11 -05:00
|
|
|
};
|
2022-09-09 13:30:12 -05:00
|
|
|
|
2023-06-08 00:53:19 -05:00
|
|
|
xonsh = prev.xonsh.overridePythonAttrs (old: rec{
|
|
|
|
|
python3 = final.gregpy;
|
2023-06-19 16:03:16 -05:00
|
|
|
propagatedBuildInputs = with final.gregpy.pkgs; old.propagatedBuildInputs ++ [
|
|
|
|
|
xonsh-apipenv
|
|
|
|
|
xonsh-direnv
|
2023-07-27 12:30:27 -05:00
|
|
|
xontrib-vox
|
2023-06-13 09:39:32 -05:00
|
|
|
];
|
2022-05-04 13:52:38 -05:00
|
|
|
});
|
2022-08-02 01:50:50 -05:00
|
|
|
|
2022-11-10 12:21:59 -06:00
|
|
|
bitwarden = macOver ./mac/bitwarden.nix "bitwarden";
|
|
|
|
|
gnucash = macOver ./mac/gnucash.nix "gnucash";
|
2022-11-10 13:04:04 -06:00
|
|
|
handbrake = macOver ./mac/handbrake.nix "handbrake";
|
2022-11-10 14:19:28 -06:00
|
|
|
onlyoffice-bin = macOver ./mac/onlyoffice-bin.nix "onlyoffice-bin";
|
2022-11-10 14:10:22 -06:00
|
|
|
vlc = macOver ./mac/vlc.nix "vlc";
|
2022-05-04 13:52:38 -05:00
|
|
|
}
|