Loading pkgs/by-name/li/libbytesize/package.nix +10 −2 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ mpfr, pcre2, pkg-config, python3, python3Packages, stdenv, }: Loading Loading @@ -41,7 +41,8 @@ stdenv.mkDerivation (finalAttrs: { gtk-doc libxslt pkg-config python3 python3Packages.python python3Packages.pythonImportsCheckHook ]; buildInputs = [ Loading @@ -52,6 +53,13 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; postInstall = '' substituteInPlace $out/${python3Packages.python.sitePackages}/bytesize/bytesize.py \ --replace-fail 'CDLL("libbytesize.so.1")' "CDLL('$out/lib/libbytesize.so.1')" ''; pythonImportsCheck = [ "bytesize" ]; meta = { homepage = "https://github.com/storaged-project/libbytesize"; description = "Tiny library providing a C 'class' for working with arbitrary big sizes in bytes"; Loading pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1923,6 +1923,8 @@ self: super: with self; { bytecode = callPackage ../development/python-modules/bytecode { }; bytesize = toPythonModule (pkgs.libbytesize.override { python3Packages = self; }); bytewax = callPackage ../development/python-modules/bytewax { }; bz2file = callPackage ../development/python-modules/bz2file { }; Loading Loading
pkgs/by-name/li/libbytesize/package.nix +10 −2 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ mpfr, pcre2, pkg-config, python3, python3Packages, stdenv, }: Loading Loading @@ -41,7 +41,8 @@ stdenv.mkDerivation (finalAttrs: { gtk-doc libxslt pkg-config python3 python3Packages.python python3Packages.pythonImportsCheckHook ]; buildInputs = [ Loading @@ -52,6 +53,13 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; postInstall = '' substituteInPlace $out/${python3Packages.python.sitePackages}/bytesize/bytesize.py \ --replace-fail 'CDLL("libbytesize.so.1")' "CDLL('$out/lib/libbytesize.so.1')" ''; pythonImportsCheck = [ "bytesize" ]; meta = { homepage = "https://github.com/storaged-project/libbytesize"; description = "Tiny library providing a C 'class' for working with arbitrary big sizes in bytes"; Loading
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1923,6 +1923,8 @@ self: super: with self; { bytecode = callPackage ../development/python-modules/bytecode { }; bytesize = toPythonModule (pkgs.libbytesize.override { python3Packages = self; }); bytewax = callPackage ../development/python-modules/bytewax { }; bz2file = callPackage ../development/python-modules/bz2file { }; Loading