feat: move to gruvbox
This commit is contained in:
parent
1fab0efd26
commit
c467ee449d
18 changed files with 442 additions and 436 deletions
14
overlays/derivations/river-bedload/build.zig.zon.nix
Normal file
14
overlays/derivations/river-bedload/build.zig.zon.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
# generated by zon2nix (https://github.com/nix-community/zon2nix)
|
||||
{
|
||||
linkFarm,
|
||||
fetchzip,
|
||||
}:
|
||||
linkFarm "zig-packages" [
|
||||
{
|
||||
name = "1220687c8c47a48ba285d26a05600f8700d37fc637e223ced3aa8324f3650bf52242";
|
||||
path = fetchzip {
|
||||
url = "https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz";
|
||||
hash = "sha256-dvit+yvc0MnipqWjxJdfIsA6fJaJZOaIpx4w4woCxbE=";
|
||||
};
|
||||
}
|
||||
]
|
38
overlays/derivations/river-bedload/default.nix
Normal file
38
overlays/derivations/river-bedload/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchgit,
|
||||
zig_0_13,
|
||||
callPackage,
|
||||
wayland-scanner,
|
||||
wayland-protocols,
|
||||
wayland,
|
||||
pkg-config,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "river-bedload";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.sr.ht/~novakane/${finalAttrs.pname}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-AMxFdKVy4E1xVdimqxm8KZW39krk/Mt27MWLxEiq1JA=";
|
||||
};
|
||||
|
||||
deps = callPackage ./build.zig.zon.nix {};
|
||||
|
||||
zigBuildFlags = [
|
||||
"--system"
|
||||
"${finalAttrs.deps}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
zig_0_13.hook
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
wayland
|
||||
wayland-protocols
|
||||
];
|
||||
})
|
52
overlays/derivations/tabler-icons.nix
Normal file
52
overlays/derivations/tabler-icons.nix
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fontforge,
|
||||
nodejs,
|
||||
pnpm,
|
||||
lib,
|
||||
}: let
|
||||
pname = "tabler-icons";
|
||||
version = "v3.24.0";
|
||||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tabler";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-6v7strSKsxSmUGXRhapOlImsCj035AX1Td+IQHPs+7g=";
|
||||
};
|
||||
|
||||
buildInputs = [fontforge];
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpm.configHook
|
||||
];
|
||||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-/BB1FaMR06uwv3Za6+PWSWMPLtoRXRTqsZDV3DIgaxs=";
|
||||
};
|
||||
|
||||
# buildPhase = ''
|
||||
# runHook preBuild
|
||||
# npm run build:webfont
|
||||
# runHook postBuild
|
||||
# '';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/useless_dir_just_check_contents
|
||||
mv .* $out/useless_dir_just_check_contents
|
||||
mv */ $out/useless_dir_just_check_contents
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A set of over 5700 free MIT-licensed high-quality SVG icons for you to use in your web projects.";
|
||||
homepage = "https://tabler.io/icons";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [amadaluzia];
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue