mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-02 02:27:33 +03:00
yafetch: init at unstable-2021-05-13
This commit is contained in:
parent
6140a94f4f
commit
9db029e405
29
pkgs/tools/misc/yafetch/default.nix
Normal file
29
pkgs/tools/misc/yafetch/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitLab }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "yafetch";
|
||||||
|
version = "unstable-2021-05-13";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "cyberkitty";
|
||||||
|
repo = pname;
|
||||||
|
rev = "627465e6bf0192a9bc10f9c9385cde544766486f";
|
||||||
|
sha256 = "1r8jnzfyjs5ardq697crwysclfm3k8aiqvfbsyhsl251a08yls5c";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Use the provided NixOS logo automatically
|
||||||
|
prePatch = ''
|
||||||
|
echo "#include \"ascii/nixos.h\"" > config.h
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Fixes installation path
|
||||||
|
DESTDIR = placeholder "out";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://gitlab.com/cyberkitty/yafetch";
|
||||||
|
description = "Yet another fetch clone written in C++";
|
||||||
|
license = licenses.gpl2Only;
|
||||||
|
maintainers = [ maintainers.ivar ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -818,6 +818,10 @@ in
|
|||||||
wine = wineWowPackages.staging;
|
wine = wineWowPackages.staging;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
yafetch = callPackage ../tools/misc/yafetch {
|
||||||
|
stdenv = clangStdenv;
|
||||||
|
};
|
||||||
|
|
||||||
### APPLICATIONS/TERMINAL-EMULATORS
|
### APPLICATIONS/TERMINAL-EMULATORS
|
||||||
|
|
||||||
alacritty = callPackage ../applications/terminal-emulators/alacritty {
|
alacritty = callPackage ../applications/terminal-emulators/alacritty {
|
||||||
|
Loading…
Reference in New Issue
Block a user