My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nomicon/pkgs/applications/misc/bicon/default.nix

37 lines
803 B

{ stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, perl
, fribidi
, kbd
, xkbutils
}:
stdenv.mkDerivation rec {
pname = "bicon";
version = "unstable-2018-09-10";
src = fetchFromGitHub {
owner = "behdad";
repo = pname;
rev = "38725c062a83ab19c4e4b4bc20eb9535561aa76c";
sha256 = "0hdslrci8pq300f3rrjsvl5psfrxdwyxf9g2m5g789sr049dksnq";
};
buildInputs = [ fribidi kbd xkbutils perl ];
nativeBuildInputs = [ autoreconfHook pkg-config ];
preConfigure = ''
patchShebangs .
'';
meta = with stdenv.lib; {
description = "A bidirectional console";
homepage = "https://github.com/behdad/bicon";
license = [ licenses.lgpl21 licenses.psfl licenses.bsd0 ];
maintainers = [ maintainers.linarcx ];
platforms = platforms.linux;
};
}