2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2019-04-14 19:13:20 +00:00
|
|
|
, 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 .
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-04-14 19:13:20 +00:00
|
|
|
description = "A bidirectional console";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/behdad/bicon";
|
2019-04-14 19:13:20 +00:00
|
|
|
license = [ licenses.lgpl21 licenses.psfl licenses.bsd0 ];
|
|
|
|
maintainers = [ maintainers.linarcx ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|