2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pure, readline }:
|
2015-05-26 06:58:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-02-01 17:45:50 +00:00
|
|
|
pname = "pure-readline";
|
2015-05-26 06:58:18 +00:00
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2022-02-01 17:45:50 +00:00
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-readline-${version}.tar.gz";
|
2015-05-26 06:58:18 +00:00
|
|
|
sha256 = "db8e6663b1c085466c09662fe86d952b6f4ffdafeecffe805c681ab91c910886";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-05-26 06:58:18 +00:00
|
|
|
propagatedBuildInputs = [ pure readline ];
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
2015-05-26 06:58:18 +00:00
|
|
|
setupHook = ../generic-setup-hook.sh;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A trivial wrapper around GNU readline, which gives Pure scripts access to the most important facilities of the readline interface";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-readline.html";
|
2021-01-23 17:15:07 +00:00
|
|
|
license = lib.licenses.free;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
2015-05-26 06:58:18 +00:00
|
|
|
};
|
|
|
|
}
|