feat: add packages from flake
This commit is contained in:
parent
3fc3cf84b1
commit
e7ba863c59
8 changed files with 275 additions and 3 deletions
28
pkgs/koi.nix
Normal file
28
pkgs/koi.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
ninja,
|
||||
wrapQtAppsHook,
|
||||
qtbase,
|
||||
qtwayland,
|
||||
kcoreaddons,
|
||||
kwidgetsaddons,
|
||||
kconfig,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
name = "koi";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "baduhai";
|
||||
repo = "Koi";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-dhpuKIY/Xi62hzJlnVCIOF0k6uoQ3zH129fLq/r+Kmg=";
|
||||
};
|
||||
|
||||
sourceRoot = "source/src";
|
||||
|
||||
nativeBuildInputs = [cmake ninja wrapQtAppsHook];
|
||||
buildInputs = [qtbase qtwayland kcoreaddons kwidgetsaddons kconfig];
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue