mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-14 19:30:21 +00:00
- split sub-packages into separate derivations - use finalAttrs - inherit meta attributes
28 lines
408 B
Nix
28 lines
408 B
Nix
{
|
|
python3Packages,
|
|
wox,
|
|
}:
|
|
python3Packages.buildPythonApplication (finalAttrs: {
|
|
pname = "wox-plugin";
|
|
inherit (wox)
|
|
version
|
|
src
|
|
;
|
|
pyproject = true;
|
|
|
|
sourceRoot = "${finalAttrs.src.name}/wox.plugin.python";
|
|
|
|
build-system = with python3Packages; [
|
|
hatchling
|
|
];
|
|
|
|
meta = {
|
|
inherit (wox.meta)
|
|
description
|
|
homepage
|
|
license
|
|
maintainers
|
|
;
|
|
};
|
|
})
|