-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also comment out broken pre-commit meta hook <NixOS/nixpkgs#270805>.
- Loading branch information
Showing
12 changed files
with
423 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,11 @@ | ||
{ | ||
pkgs, | ||
poetry2nix, | ||
python, | ||
}: | ||
pkgs.poetry2nix.mkPoetryPackages { | ||
poetry2nix.mkPoetryPackages { | ||
inherit python; | ||
projectDir = builtins.path { | ||
path = ./.; | ||
name = "sentinel1_water_extraction_packages"; | ||
}; | ||
overrides = pkgs.poetry2nix.overrides.withDefaults (self: super: { | ||
jupyterlab = super.jupyterlab.overridePythonAttrs (old: { | ||
# TODO: Remove when https://github.com/nix-community/poetry2nix/pull/1173 is in use | ||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [self.hatchling self.hatch-jupyter-builder]; | ||
}); | ||
overrides = super.overrides.overridePythonAttrs (old: { | ||
# TODO: Remove when https://github.com/nix-community/poetry2nix/pull/1173 is in use | ||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [self.setuptools]; | ||
}); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,11 @@ | ||
{ | ||
pkgs, | ||
poetry2nix, | ||
python, | ||
}: | ||
pkgs.poetry2nix.mkPoetryPackages { | ||
poetry2nix.mkPoetryPackages { | ||
inherit python; | ||
projectDir = builtins.path { | ||
path = ./.; | ||
name = "sentinel2_water_extraction_packages"; | ||
}; | ||
overrides = pkgs.poetry2nix.overrides.withDefaults (self: super: { | ||
annotated-types = super.annotated-types.overridePythonAttrs (old: { | ||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [self.hatchling]; | ||
}); | ||
pydantic = super.pydantic.overridePythonAttrs (old: { | ||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [self.hatchling self.hatch-fancy-pypi-readme]; | ||
}); | ||
pydantic-core = super.pydantic-core.override { | ||
preferWheel = true; | ||
}; | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.