diff options
| author | Yury Shvedov <yury.shvedov@kaspersky.com> | 2024-10-10 20:17:11 +0300 |
|---|---|---|
| committer | Yury Shvedov <yury.shvedov@kaspersky.com> | 2024-11-18 12:24:25 +0300 |
| commit | d3c8c86ac4b5451d259ab19a380e5908dc53ff6f (patch) | |
| tree | 254c612332f801330920703239ff358b667eefa8 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 063fa684a47f6d2aa31f2d2cd36f29af0606738e (diff) | |
freecad: make customizable
FreeCad has addon system with various addons around the net.
It has an addon-manager which allows to browse through
registered addons and install them in runtime. But this is not nix-way,
because you have to install addons again after system configuration
moving.
Additionally freecad allows you to manually install addons and put them to
common folder or specify with command arguments.
This patch introduces extra `customize` method to FreeCad derivation
attrset (inspired from vim) which allows you to inject addons from nix
configuration.
```nix
{ freecad
, fetchFromGitHub
}:
let
cad-exchanger = fetchFromGitHub {
owner = "yorikvanhavre";
repo = "CADExchanger";
rev = "5c2cd792ddc4581b917ebe7add5ef960bf6c3e2a";
hash = "sha256-AST5bwhgMbvW3m8V1cv5PqKjJi2eSE1lbXpVLvRVzM8=";
};
freecad-customized = freecad.customize {
modules = [ cad-exchanger ];
};
in
freecad-customized
```
Change-Id: I64cea3a5c7c5d08d153424b98dafec4117808d21
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
