nixpkgs/pkgs/tools/misc/tio/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

21 lines
544 B
Nix

{ stdenv, fetchzip, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "tio";
version = "1.32";
src = fetchzip {
url = "https://github.com/tio/tio/archive/v${version}.tar.gz";
sha256 = "0lwqdm73kshi9qs8pks1b4by6yb9jf3bbyw3bv52xmggnr5s1hcv";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
description = "Serial console TTY";
homepage = https://tio.github.io/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ yegortimoshenko ];
platforms = platforms.linux;
};
}