forked from mirrors/nixpkgs
96d41e393d
It's sad, but he's been inactive for the last five years. Keeping such people in meta.maintainers is counter-productive.
31 lines
831 B
Nix
31 lines
831 B
Nix
{ stdenv, fetchurl, cln, libxml2, glib, intltool, pkgconfig, doxygen, autoreconfHook, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libqalculate-${version}";
|
|
version = "0.9.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/Qalculate/libqalculate/archive/v${version}.tar.gz";
|
|
sha256 = "0whzc15nwsrib6bpw4lqsm59yr0pfk44hny9sivfbwhidk0177zi";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "doc" ];
|
|
|
|
nativeBuildInputs = [ intltool pkgconfig autoreconfHook doxygen ];
|
|
buildInputs = [ readline ];
|
|
propagatedBuildInputs = [ cln libxml2 glib ];
|
|
|
|
preBuild = ''
|
|
pushd docs/reference
|
|
doxygen Doxyfile
|
|
popd
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An advanced calculator library";
|
|
homepage = http://qalculate.github.io;
|
|
maintainers = with maintainers; [ gebner ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|