python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / editline / default.nix
blob2b2ffbea31e2aec2691f1d2d6a425b929ff44feb
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, nix-update-script, fetchpatch }:
3 stdenv.mkDerivation rec {
4   pname = "editline";
5   version = "1.17.1";
6   src = fetchFromGitHub {
7     owner = "troglobit";
8     repo = "editline";
9     rev = version;
10     sha256 = "sha256-0FeDUVCUahbweH24nfaZwa7j7lSfZh1TnQK7KYqO+3g=";
11   };
13   patches = [
14     (fetchpatch {
15       name = "fix-for-home-end-in-tmux.patch";
16       url = "https://github.com/troglobit/editline/commit/265c1fb6a0b99bedb157dc7c320f2c9629136518.patch";
17       sha256 = "sha256-9fhQH0hT8BcykGzOUoT18HBtWjjoXnePSGDJQp8GH30=";
18     })
19   ];
21   nativeBuildInputs = [ autoreconfHook ];
23   outputs = [ "out" "dev" "man" "doc" ];
25   passthru.updateScript = nix-update-script {
26     attrPath = pname;
27   };
29   meta = with lib; {
30     homepage = "https://troglobit.com/projects/editline/";
31     description = "A readline() replacement for UNIX without termcap (ncurses)";
32     license = licenses.bsdOriginal;
33     maintainers = with maintainers; [ dtzWill oxalica ];
34     platforms = platforms.all;
35   };