nixpkgs/pkgs/tools/misc/toilet/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
616 B
Nix

{ stdenv, fetchurl, pkgconfig, libcaca }:
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 = [ pkgconfig ];
buildInputs = [ libcaca ];
meta = with stdenv.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;
};
}