libbytesize: init at 1.3

authored by Jan Tojnar and committed by Florian Klink 6d406996 d1eb2550

+33
+31
pkgs/development/libraries/libbytesize/default.nix
··· 1 + { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gettext 2 + , gtk-doc, libxslt, docbook_xml_dtd_43, docbook_xsl 3 + , python3, pcre, gmp, mpfr 4 + }: 5 + 6 + let 7 + version = "1.3"; 8 + in stdenv.mkDerivation rec { 9 + name = "libbytesize-${version}"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "storaged-project"; 13 + repo = "libbytesize"; 14 + rev = version; 15 + sha256 = "1ys5d8rya8x4q34gn1hr96z7797s9gdzah0y0d7g84x5x6k50p30"; 16 + }; 17 + 18 + outputs = [ "out" "dev" "devdoc" ]; 19 + 20 + nativeBuildInputs = [ autoreconfHook pkgconfig gettext gtk-doc libxslt docbook_xml_dtd_43 docbook_xsl python3 ]; 21 + 22 + buildInputs = [ pcre gmp mpfr ]; 23 + 24 + meta = with stdenv.lib; { 25 + description = "A tiny library providing a C “class” for working with arbitrary big sizes in bytes"; 26 + homepage = src.meta.homepage; 27 + license = licenses.lgpl2Plus; 28 + maintainers = with maintainers; []; 29 + platforms = platforms.linux; 30 + }; 31 + }
+2
pkgs/top-level/all-packages.nix
··· 9798 9798 9799 9799 libburn = callPackage ../development/libraries/libburn { }; 9800 9800 9801 + libbytesize = callPackage ../development/libraries/libbytesize { }; 9802 + 9801 9803 libcaca = callPackage ../development/libraries/libcaca { 9802 9804 inherit (xorg) libX11 libXext; 9803 9805 };