2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, pure }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
baseName = "doc";
|
|
|
|
version = "0.7";
|
|
|
|
name = "pure-${baseName}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "cfa880573941f37868269bcc443a09fecd2a141a78556383d2213f6c9f45ddd9";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ pure ];
|
|
|
|
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple utility for literate programming and documenting source code written in the Pure programming language";
|
|
|
|
homepage = "http://puredocs.bitbucket.org/pure-doc.html";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ asppsa ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|