mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
31 lines
712 B
Nix
31 lines
712 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, gettext
|
|
, which
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "linux_logo";
|
|
version = "6.01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deater";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-yBAxPwgKyFFIX0wuG7oG+FbEDpA5cPwyyJgWrFErJ7I=";
|
|
};
|
|
|
|
nativeBuildInputs = [ gettext which ];
|
|
|
|
meta = with lib; {
|
|
description = "Prints an ASCII logo and some system info";
|
|
mainProgram = "linux_logo";
|
|
homepage = "http://www.deater.net/weave/vmwprod/linux_logo";
|
|
changelog = "https://github.com/deater/linux_logo/blob/${src.rev}/CHANGES";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ azahi ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|