Add nix package
This commit is contained in:
parent
1575222c9d
commit
6a4272502e
2 changed files with 36 additions and 0 deletions
|
|
@ -28,6 +28,10 @@
|
||||||
cmake
|
cmake
|
||||||
] ++ kdeDeps;
|
] ++ kdeDeps;
|
||||||
};
|
};
|
||||||
|
packages.x86_64-linux = rec {
|
||||||
|
default = leek;
|
||||||
|
leek = pkgs.callPackage ./package.nix { };
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
32
package.nix
Normal file
32
package.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
kdePackages,
|
||||||
|
python3Packages,
|
||||||
|
qt6
|
||||||
|
}: python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "leek";
|
||||||
|
version = "0.0.1";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = ./.;
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
python3Packages.setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
dependencies = with python3Packages; [
|
||||||
|
pyside6
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
qt6.wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
kdePackages.kirigami
|
||||||
|
];
|
||||||
|
|
||||||
|
makeWrapperArgs = [
|
||||||
|
"\${qtWrapperArgs[@]}"
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue