split config and pkgs in separate folders

This commit is contained in:
Felix Buehler 2022-07-30 15:00:18 +02:00
parent ab3ece7522
commit b8149f88ed
9 changed files with 112 additions and 17 deletions

18
pkgs/homer/default.nix Normal file
View file

@ -0,0 +1,18 @@
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
pname = "homer";
version = "22.07.2";
src = fetchzip {
urls = [
"https://github.com/bastienwirtz/homer/releases/download/v${version}/homer.zip"
];
sha256 = "sha256-rmCqjWn7bbTESmOHTO5H7YVyZzny617pI0VdSlsqYGI=";
stripRoot = false;
};
installPhase = ''
cp -r $src $out/
'';
sourceRoot = ".";
}