2023-10-09 19:29:22 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, libcaca, toilet, testers }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libcaca ];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = toilet;
|
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "toilet";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|