libbytesize: 2.7 -> 2.8
This commit is contained in:
parent
6c203eab01
commit
cf0db2e3ff
1 changed files with 41 additions and 19 deletions
|
@ -1,32 +1,54 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gettext
|
{ lib
|
||||||
, gtk-doc, libxslt, docbook_xml_dtd_43, docbook_xsl
|
, stdenv
|
||||||
, python3, pcre2, gmp, mpfr
|
, fetchFromGitHub
|
||||||
|
, autoreconfHook
|
||||||
|
, docbook_xml_dtd_43
|
||||||
|
, docbook_xsl
|
||||||
|
, gettext
|
||||||
|
, gmp
|
||||||
|
, gtk-doc
|
||||||
|
, libxslt
|
||||||
|
, mpfr
|
||||||
|
, pcre2
|
||||||
|
, pkg-config
|
||||||
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation (self: {
|
||||||
version = "2.7";
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
pname = "libbytesize";
|
pname = "libbytesize";
|
||||||
inherit version;
|
version = "2.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "storaged-project";
|
owner = "storaged-project";
|
||||||
repo = "libbytesize";
|
repo = "libbytesize";
|
||||||
rev = version;
|
rev = self.version;
|
||||||
sha256 = "sha256-oSXa3cxJ+Eaeeusz6QeQrzQBs4eombNGJS+lJQMc2b4=";
|
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; {
|
meta = {
|
||||||
description = "A tiny library providing a C “class” for working with arbitrary big sizes in bytes";
|
homepage = "https://github.com/storaged-project/libbytesize";
|
||||||
homepage = src.meta.homepage;
|
description = "A tiny library providing a C 'class' for working with arbitrary big sizes in bytes";
|
||||||
license = licenses.lgpl2Plus;
|
license = lib.licenses.lgpl2Plus;
|
||||||
maintainers = with maintainers; [];
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue