updates
This commit is contained in:
parent
026d09a189
commit
8ed99daa24
7 changed files with 117 additions and 56 deletions
|
|
@ -9,42 +9,34 @@
|
|||
inherit version;
|
||||
sha256 = "0410j6jfz1yzm5s0v0yrc1j0q6ih4322357and7arr0jxnlsn0ia";
|
||||
};
|
||||
meta.priority = -1;
|
||||
});
|
||||
|
||||
customPackages = pkgs.python311Packages.override {
|
||||
customPydantic = pkgs.python311Packages.override {
|
||||
overrides = self: super: {
|
||||
numpy = numpy-1;
|
||||
pydantic = super.pydantic.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.10.18";
|
||||
src = pkgs.fetchPypi {
|
||||
pname = "pydantic";
|
||||
inherit version;
|
||||
sha256 = "uuvf8ZB9HZahOcJRNqm7fRfhGPEzp2ou87hF6DHjQDo=";
|
||||
};
|
||||
nativeBuildInputs = oldAttrs.nativeBuildInputs or [] ++ [ self.setuptools ];
|
||||
});
|
||||
};
|
||||
};
|
||||
in {
|
||||
fish-rust = pkgs.callPackage ./fish-rust {};
|
||||
|
||||
python-pymatting = pkgs.callPackage ./python-pymatting {
|
||||
inherit lib;
|
||||
fetchPypi = pkgs.fetchPypi;
|
||||
python311Packages = customPackages;
|
||||
};
|
||||
|
||||
python-opencv-headless = pkgs.callPackage ./python-opencv-headless {
|
||||
inherit lib;
|
||||
fetchPypi = pkgs.fetchPypi;
|
||||
cmake = pkgs.cmake;
|
||||
pkg-config = pkgs.pkg-config;
|
||||
stdenv = pkgs.stdenv;
|
||||
makeWrapper = pkgs.makeWrapper;
|
||||
python311Packages = customPackages;
|
||||
};
|
||||
|
||||
python-rembg = pkgs.callPackage ./python-rembg {
|
||||
inherit lib;
|
||||
fetchPypi = pkgs.fetchPypi;
|
||||
python311Packages = customPackages;
|
||||
python311Packages = numpy-1;
|
||||
|
||||
python-pymatting = pkgs.callPackage ./python-pymatting {
|
||||
inherit lib;
|
||||
fetchPypi = pkgs.fetchPypi;
|
||||
python311Packages = customPackages;
|
||||
python311Packages = numpy-1;
|
||||
};
|
||||
|
||||
python-opencv-headless = pkgs.callPackage ./python-opencv-headless {
|
||||
|
|
@ -54,9 +46,13 @@ in {
|
|||
pkg-config = pkgs.pkg-config;
|
||||
stdenv = pkgs.stdenv;
|
||||
makeWrapper = pkgs.makeWrapper;
|
||||
python311Packages = customPackages;
|
||||
python311Packages = numpy-1;
|
||||
};
|
||||
};
|
||||
|
||||
pythonPackages = customPackages;
|
||||
python-ngx-lsp = pkgs.callPackage ./python-nginx-language-server {
|
||||
inherit lib;
|
||||
fetchFromGitHub = pkgs.fetchFromGitHub;
|
||||
python311Packages = customPydantic;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue