nixpkgs/pkgs/development/libraries/libtsm/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

28 lines
787 B
Nix

{ stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libtsm-3";
src = fetchurl {
url = "http://freedesktop.org/software/kmscon/releases/${name}.tar.xz";
sha256 = "01ygwrsxfii0pngfikgqsb4fxp8n1bbs47l7hck81h9b9bc1ah8i";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxkbcommon ] ++ lib.optionals stdenv.isDarwin [
autoreconfHook
];
configureFlags = [ "--disable-debug" ];
patches = lib.optional stdenv.isDarwin ./darwin.patch;
meta = with lib; {
description = "Terminal-emulator State Machine";
homepage = http://www.freedesktop.org/wiki/Software/kmscon/libtsm/;
license = licenses.mit;
maintainers = with maintainers; [ cstrahan ];
platforms = with platforms; unix;
};
}