mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
2e722bdfdb
and drop package maintainership for removed maintainers. davidarmstronglewis is now known on github as oceanlewis. Editing maintainer-list.nix… TravisDavis-ops likely deleted their github account rs0vere likely deleted their github account SamirTalwar is now known on github as abstracte. Editing maintainer-list.nix…
31 lines
802 B
Nix
31 lines
802 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, enableStatic ? stdenv.hostPlatform.isStatic
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "replxx";
|
|
version = "0.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AmokHuginnsson";
|
|
repo = "replxx";
|
|
rev = "release-${finalAttrs.version}";
|
|
hash = "sha256-WGiczMJ64YPq0DHKZRBDa7EGlRx7hPlpnk6zPdIVFh4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if enableStatic then "OFF" else "ON"}" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/AmokHuginnsson/replxx";
|
|
description = "A readline and libedit replacement that supports UTF-8, syntax highlighting, hints and Windows and is BSD licensed";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.all;
|
|
};
|
|
})
|