From 60b6064ded56442e37de48aee0c6372fd07affbb Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 4 Jul 2024 17:18:05 +0100 Subject: [PATCH] Added personal build of kunst as package overlay --- pkgs/default.nix | 1 + pkgs/kunst/default.nix | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/kunst/default.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index e080f69..a47961f 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -5,4 +5,5 @@ pkgs: { dmenu = pkgs.callPackage ./dmenu { }; nsxiv = pkgs.callPackage ./nsxiv { }; sqlfmt = pkgs.callPackage ./sqlfmt { }; + kunst = pkgs.callPackage ./kunst { }; } diff --git a/pkgs/kunst/default.nix b/pkgs/kunst/default.nix new file mode 100644 index 0000000..3b19e93 --- /dev/null +++ b/pkgs/kunst/default.nix @@ -0,0 +1,22 @@ +{ pkgs ? import { } +, fetchFromGitea ? pkgs.fetchFromGitea +}: +pkgs.stdenv.mkDerivation { + pname = "kunst"; + name = "kunst"; + + src = fetchFromGitea { + domain = "git.bitlab21.com"; + owner = "sam"; + repo = "kunst"; + rev = "efff362ab9ea14cae2bb6c5d246601011e345732"; + sha256 = "sha256-AeAYh2z2Ty9rYfgm+EhYB99OI87aWqLURDbfT0N3wUg="; + }; + + installPhase = '' + mkdir -p $out/bin + mv kunst $out/bin + chmod 755 $out/bin/kunst + ''; + +}