fix: fixed pkg dependencies for panoramax
This commit is contained in:
parent
1b1a3f7219
commit
3bee0c7402
13 changed files with 632 additions and 39 deletions
48
modules/common-modules/pkgs/python/geojson-pydantic.nix
Normal file
48
modules/common-modules/pkgs/python/geojson-pydantic.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
flit-core,
|
||||
pydantic,
|
||||
geojson,
|
||||
...
|
||||
}: let
|
||||
pname = "geojson_pydantic";
|
||||
version = "2.0.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ti6LRFAt0a1Ri19zkDWoGSSnb5gMvbOk6JFu+RO+JC4=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
geojson
|
||||
];
|
||||
|
||||
# Skip tests as they may require specific setup
|
||||
doCheck = false;
|
||||
|
||||
# Disable runtime dependencies check
|
||||
dontCheckRuntimeDeps = true;
|
||||
|
||||
# Basic imports check
|
||||
pythonImportsCheck = ["geojson_pydantic"];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pydantic models for GeoJSON objects";
|
||||
homepage = "https://github.com/developmentseed/geojson-pydantic";
|
||||
license = licenses.mit;
|
||||
maintainers = [];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue