diff --git a/pkgs/development/libraries/libbytesize/default.nix b/pkgs/by-name/li/libbytesize/package.nix similarity index 70% rename from pkgs/development/libraries/libbytesize/default.nix rename to pkgs/by-name/li/libbytesize/package.nix index f0af39cc8810..bd395682cc14 100644 --- a/pkgs/development/libraries/libbytesize/default.nix +++ b/pkgs/by-name/li/libbytesize/package.nix @@ -1,31 +1,37 @@ -{ lib -, stdenv -, fetchFromGitHub -, autoreconfHook -, docbook_xml_dtd_43 -, docbook_xsl -, gettext -, gmp -, gtk-doc -, libxslt -, mpfr -, pcre2 -, pkg-config -, python3 +{ + lib, + autoreconfHook, + docbook_xml_dtd_43, + docbook_xsl, + fetchFromGitHub, + gettext, + gmp, + gtk-doc, + libxslt, + mpfr, + pcre2, + pkg-config, + python3, + stdenv, }: stdenv.mkDerivation (finalAttrs: { pname = "libbytesize"; - version = "2.10"; + version = "2.11"; src = fetchFromGitHub { owner = "storaged-project"; repo = "libbytesize"; rev = finalAttrs.version; - hash = "sha256-IPBoYcnSQ1/ws3mzPUXxgbetZkXRWrGhtakXaVVFb6U="; + hash = "sha256-scOnucn7xp6KKEtkpwfyrdzcntJF2l0h0fsQotcceLc="; }; - outputs = [ "out" "dev" "devdoc" "man" ]; + outputs = [ + "out" + "dev" + "devdoc" + "man" + ]; nativeBuildInputs = [ autoreconfHook @@ -49,8 +55,8 @@ stdenv.mkDerivation (finalAttrs: { meta = { homepage = "https://github.com/storaged-project/libbytesize"; description = "Tiny library providing a C 'class' for working with arbitrary big sizes in bytes"; - mainProgram = "bscalc"; license = lib.licenses.lgpl2Plus; + mainProgram = "bscalc"; maintainers = with lib.maintainers; [ AndersonTorres ]; platforms = lib.platforms.linux; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 232f42f70fa5..0499d8eda1ba 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21144,8 +21144,6 @@ with pkgs; libbs2b = callPackage ../development/libraries/audio/libbs2b { }; - libbytesize = callPackage ../development/libraries/libbytesize { }; - libcaca = callPackage ../development/libraries/libcaca { }; libcacard = callPackage ../development/libraries/libcacard { };