nixpkgs-suyu/pkgs/development/libraries/libbytesize/default.nix
R. RyanTM 9c338630a9 libbytesize: 1.3 -> 1.4 (#44750)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libbytesize/versions.
2018-08-09 11:45:47 +02:00

31 lines
886 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gettext
, gtk-doc, libxslt, docbook_xml_dtd_43, docbook_xsl
, python3, pcre, gmp, mpfr
}:
let
version = "1.4";
in stdenv.mkDerivation rec {
name = "libbytesize-${version}";
src = fetchFromGitHub {
owner = "storaged-project";
repo = "libbytesize";
rev = version;
sha256 = "1yxlc0f960rhqmh3fs3p0hvw0y2cikplgc27zsz6rn4h5dlrfmi2";
};
outputs = [ "out" "dev" "devdoc" ];
nativeBuildInputs = [ autoreconfHook pkgconfig gettext gtk-doc libxslt docbook_xml_dtd_43 docbook_xsl python3 ];
buildInputs = [ pcre gmp mpfr ];
meta = with stdenv.lib; {
description = "A tiny library providing a C class for working with arbitrary big sizes in bytes";
homepage = src.meta.homepage;
license = licenses.lgpl2Plus;
maintainers = with maintainers; [];
platforms = platforms.linux;
};
}