Loading pkgs/development/python-modules/sdflit/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, cargo, rustPlatform, rustc, }: let version = "0.2.6"; src = fetchFromGitHub { owner = "yzx9"; repo = "sdflit"; tag = "v${version}"; hash = "sha256-Ze3J5Dp+TskhIiGP6kMK3AIHLnhVBuEaKJokccIr+SM="; }; in buildPythonPackage { pname = "sdflit"; inherit version src; pyproject = true; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; hash = "sha256-CrMe5DuO9sQZZ50Hy+av4nF4gbOe296zSWJfJ8th7zs="; }; build-system = [ cargo rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook rustc ]; pythonImportsCheck = [ "sdflit" ]; meta = { description = "Fast and Robust Signed Distance Function Library"; homepage = "https://github.com/yzx9/sdflit"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ yzx9 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -15469,6 +15469,8 @@ self: super: with self; { sdds = callPackage ../development/python-modules/sdds { }; sdflit = callPackage ../development/python-modules/sdflit { }; sdjson = callPackage ../development/python-modules/sdjson { }; sdkmanager = callPackage ../development/python-modules/sdkmanager { }; Loading
pkgs/development/python-modules/sdflit/default.nix 0 → 100644 +47 −0 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildPythonPackage, cargo, rustPlatform, rustc, }: let version = "0.2.6"; src = fetchFromGitHub { owner = "yzx9"; repo = "sdflit"; tag = "v${version}"; hash = "sha256-Ze3J5Dp+TskhIiGP6kMK3AIHLnhVBuEaKJokccIr+SM="; }; in buildPythonPackage { pname = "sdflit"; inherit version src; pyproject = true; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; hash = "sha256-CrMe5DuO9sQZZ50Hy+av4nF4gbOe296zSWJfJ8th7zs="; }; build-system = [ cargo rustPlatform.cargoSetupHook rustPlatform.maturinBuildHook rustc ]; pythonImportsCheck = [ "sdflit" ]; meta = { description = "Fast and Robust Signed Distance Function Library"; homepage = "https://github.com/yzx9/sdflit"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ yzx9 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -15469,6 +15469,8 @@ self: super: with self; { sdds = callPackage ../development/python-modules/sdds { }; sdflit = callPackage ../development/python-modules/sdflit { }; sdjson = callPackage ../development/python-modules/sdjson { }; sdkmanager = callPackage ../development/python-modules/sdkmanager { };