split zsh config into several nix files
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "tinyfetch";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abrik1";
|
||||
repo = "tinyfetch";
|
||||
rev = "refs/tags/0.2";
|
||||
hash = "sha256-nuC7Xtfg7rf6/IDhUKT2JZD9V0Hl/welNAFDJYJKwmA=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
$CC src/tinyfetch.c -o tinyfetch
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 tinyfetch -t $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Simple fetch in C which is tiny and fast";
|
||||
homepage = "https://github.com/abrik1/tinyfetch";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "tinyfetch";
|
||||
maintainers = with lib.maintainers; [ pagedMov ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user