mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
libbytesize: 2.7 -> 2.8
This commit is contained in:
parent
6c203eab01
commit
cf0db2e3ff
@ -1,32 +1,54 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
|
||||
, gtk-doc, libxslt, docbook_xml_dtd_43, docbook_xsl
|
||||
, python3, pcre2, gmp, mpfr
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, docbook_xml_dtd_43
|
||||
, docbook_xsl
|
||||
, gettext
|
||||
, gmp
|
||||
, gtk-doc
|
||||
, libxslt
|
||||
, mpfr
|
||||
, pcre2
|
||||
, pkg-config
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.7";
|
||||
in stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (self: {
|
||||
pname = "libbytesize";
|
||||
inherit version;
|
||||
version = "2.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "storaged-project";
|
||||
repo = "libbytesize";
|
||||
rev = version;
|
||||
sha256 = "sha256-oSXa3cxJ+Eaeeusz6QeQrzQBs4eombNGJS+lJQMc2b4=";
|
||||
rev = self.version;
|
||||
hash = "sha256-/TVv/srhbotIkne0G77hgBF4j+74INqVUr8zlKsaoM0=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
outputs = [ "out" "dev" "devdoc" "man" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config gettext gtk-doc libxslt docbook_xml_dtd_43 docbook_xsl python3 ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
docbook_xml_dtd_43
|
||||
docbook_xsl
|
||||
gettext
|
||||
gtk-doc
|
||||
libxslt
|
||||
pkg-config
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [ pcre2 gmp mpfr ];
|
||||
buildInputs = [
|
||||
gmp
|
||||
mpfr
|
||||
pcre2
|
||||
];
|
||||
|
||||
meta = with 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;
|
||||
meta = {
|
||||
homepage = "https://github.com/storaged-project/libbytesize";
|
||||
description = "A tiny library providing a C 'class' for working with arbitrary big sizes in bytes";
|
||||
license = lib.licenses.lgpl2Plus;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user