Added personal build of kunst as package overlay
This commit is contained in:
parent
5000138b85
commit
60b6064ded
|
@ -5,4 +5,5 @@ pkgs: {
|
|||
dmenu = pkgs.callPackage ./dmenu { };
|
||||
nsxiv = pkgs.callPackage ./nsxiv { };
|
||||
sqlfmt = pkgs.callPackage ./sqlfmt { };
|
||||
kunst = pkgs.callPackage ./kunst { };
|
||||
}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{ pkgs ? import <nixpkgs> { }
|
||||
, 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
|
||||
'';
|
||||
|
||||
}
|
Loading…
Reference in New Issue