From 855aa14ecc32625a98ec01b017acfc8a4af3c017 Mon Sep 17 00:00:00 2001 From: Adam Lewis <23342526+Adam-D-Lewis@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:43:26 -0600 Subject: [PATCH] remove unmaintained nix files (#2831) --- flake.lock | 44 -------------------------------- flake.nix | 74 ------------------------------------------------------ 2 files changed, 118 deletions(-) delete mode 100644 flake.lock delete mode 100644 flake.nix diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 603e9e47f..000000000 --- a/flake.lock +++ /dev/null @@ -1,44 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1639029528, - "narHash": "sha256-6OxgTjoBBEuGZMct702B/fdqui8n7YgI2lTGjV93G1o=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "33582b3ee1d3edbe331b455ed423bc97e3fb7498", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs-keycloak": { - "locked": { - "lastModified": 1640053849, - "narHash": "sha256-HBCcj8BJ+s17al53nhR77h2y+nMrKVwLc1DWi2V5aAo=", - "owner": "costrouc", - "repo": "nixpkgs", - "rev": "b5e918b5d2fe126836e665f03077e300ad42d1b0", - "type": "github" - }, - "original": { - "owner": "costrouc", - "ref": "python-keycloak", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs", - "nixpkgs-keycloak": "nixpkgs-keycloak" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index c6fc060f9..000000000 --- a/flake.nix +++ /dev/null @@ -1,74 +0,0 @@ -{ - description = "Nebari"; - - inputs = { - nixpkgs = { url = "github:nixos/nixpkgs/nixpkgs-unstable"; }; - nixpkgs-keycloak = { url = "github:costrouc/nixpkgs/python-keycloak"; }; - }; - - outputs = inputs@{ self, nixpkgs, nixpkgs-keycloak, ... }: - let - pkgs = import nixpkgs { system = "x86_64-linux"; }; - pythonPackages = pkgs.python3Packages; - - keycloak = (import nixpkgs-keycloak { system = "x86_64-linux"; }).python3Packages.python-keycloak; - - propagatedDependencies = [ - pythonPackages.ruamel-yaml - pythonPackages.cloudflare - pythonPackages.auth0-python - pythonPackages.pydantic - pythonPackages.pynacl - pythonPackages.bcrypt - pythonPackages.kubernetes - pythonPackages.packaging - pythonPackages.rich - keycloak - - # cloud packages - pythonPackages.azure-mgmt-containerservice - pythonPackages.azure-identity - pythonPackages.boto3 - ]; - - devDependencies = [ - # development - pythonPackages.pytest - pythonPackages.pytest-timeout - pythonPackages.black - pythonPackages.sphinx - pythonPackages.dask-gateway - pythonPackages.paramiko - pythonPackages.escapism - pythonPackages.isort - - # additional - pkgs.minikube - pkgs.k9s - pkgs.expect - ]; - in rec { - defaultApp.x86_64-linux = pythonPackages.buildPythonPackage { - pname = "nebari"; - version = "latest"; - format = "pyproject"; - - src = ./.; - - propagatedBuildInputs = propagatedDependencies; - - patchPhase = '' - substituteInPlace setup.cfg \ - --replace "azure-identity==1.6.1" "azure-identity" \ - --replace "azure-mgmt-containerservice==16.2.0" "azure-mgmt-containerservice" - ''; - - doCheck = false; - }; - - devShell.x86_64-linux = - pkgs.mkShell { - buildInputs = propagatedDependencies ++ devDependencies ++ [ defaultApp.x86_64-linux ]; - }; - }; -}