packages/forge-sparks: init at 0.2.0
This commit is contained in:
parent
6dbe4baa23
commit
af42b8fc14
1 changed files with 68 additions and 0 deletions
68
packages/apps/forge-sparks/default.nix
Normal file
68
packages/apps/forge-sparks/default.nix
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
{ stdenv
|
||||||
|
, desktop-file-utils
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, gettext
|
||||||
|
, pkg-config
|
||||||
|
, gtk4
|
||||||
|
, gtksourceview5
|
||||||
|
, gobject-introspection
|
||||||
|
, wrapGAppsHook4
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gjs
|
||||||
|
, blueprint-compiler
|
||||||
|
, libadwaita
|
||||||
|
, libsecret
|
||||||
|
, libsoup_3
|
||||||
|
, libportal-gtk4
|
||||||
|
}:
|
||||||
|
|
||||||
|
|
||||||
|
let
|
||||||
|
troll = fetchFromGitHub {
|
||||||
|
owner = "sonnyp";
|
||||||
|
repo = "troll";
|
||||||
|
rev = "12a42a5afc8c6c26d3d782ea75b1e1372a0e8f36";
|
||||||
|
hash = "sha256-e9C9Du5j7tEy/q/OhbfCU7DD3Oe6Hnq1xcFYablBipw=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "forge-sparks";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rafaelmardojai";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-BxC5BqwSDuLBwG4a5/0pntuHhW05xDsmzO7yMQKi/vI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
rmdir troll
|
||||||
|
cp -r ${troll} troll
|
||||||
|
chmod +w -R troll
|
||||||
|
patchShebangs troll/gjspack/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
desktop-file-utils
|
||||||
|
gettext
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook4
|
||||||
|
blueprint-compiler
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gjs
|
||||||
|
gtk4
|
||||||
|
gtksourceview5
|
||||||
|
libadwaita
|
||||||
|
gobject-introspection
|
||||||
|
libsecret
|
||||||
|
libsoup_3
|
||||||
|
libportal-gtk4
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue