My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/disfetch/default.nix

29 lines
661 B

{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "disfetch";
version = "3.6";
src = fetchFromGitHub {
owner = "q60";
repo = "disfetch";
rev = version;
sha256 = "sha256-/Not2jNwk3jX8TLN7CT3JXDilatSYXPaudGKNAgQDPY=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin disfetch
runHook postInstall
'';
meta = with lib; {
description = "Yet another *nix distro fetching program, but less complex";
homepage = "https://github.com/q60/disfetch";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ vel ];
};
}