mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
libbytesize: init at 1.3
This commit is contained in:
parent
d1eb255036
commit
6d4069964f
2 changed files with 33 additions and 0 deletions
31
pkgs/development/libraries/libbytesize/default.nix
Normal file
31
pkgs/development/libraries/libbytesize/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gettext
|
||||
, gtk-doc, libxslt, docbook_xml_dtd_43, docbook_xsl
|
||||
, python3, pcre, gmp, mpfr
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.3";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "libbytesize-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "storaged-project";
|
||||
repo = "libbytesize";
|
||||
rev = version;
|
||||
sha256 = "1ys5d8rya8x4q34gn1hr96z7797s9gdzah0y0d7g84x5x6k50p30";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -9798,6 +9798,8 @@ with pkgs;
|
|||
|
||||
libburn = callPackage ../development/libraries/libburn { };
|
||||
|
||||
libbytesize = callPackage ../development/libraries/libbytesize { };
|
||||
|
||||
libcaca = callPackage ../development/libraries/libcaca {
|
||||
inherit (xorg) libX11 libXext;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue