504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
27 lines
740 B
Nix
27 lines
740 B
Nix
{ lib, stdenv, fetchurl, pkg-config, libcaca, toilet, testers }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "toilet";
|
|
version = "0.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://caca.zoy.org/raw-attachment/wiki/toilet/${pname}-${version}.tar.gz";
|
|
sha256 = "1pl118qb7g0frpgl9ps43w4sd0psjirpmq54yg1kqcclqcqbbm49";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ libcaca ];
|
|
|
|
passthru.tests.version = testers.testVersion {
|
|
package = toilet;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Display large colourful characters in text mode";
|
|
homepage = "http://caca.zoy.org/wiki/toilet";
|
|
license = licenses.wtfpl;
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = platforms.all;
|
|
mainProgram = "toilet";
|
|
};
|
|
}
|