1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libtsm/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

28 lines
788 B
Nix

{ stdenv, lib, fetchurl, libxkbcommon, pkgconfig, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libtsm-3";
src = fetchurl {
url = "https://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;
};
}