libresoc-ieee754fpu = pself.callPackage ./nix/ieee754fpu.nix {};
libresoc-openpower-isa = pself.callPackage ./nix/openpower-isa.nix {};
bigfloat = pself.callPackage ./nix/bigfloat.nix {};
+ libresoc-nmutil = pself.callPackage ./nix/nmutil.nix {};
};
};
-{ lib, buildPythonPackage, bigfloat, fetchPypi, gmp, mpfr }:
+{ lib, buildPythonPackage, bigfloat, fetchPypi, gmp, mpfr, six }:
buildPythonPackage rec {
pname = "bigfloat";
version = "0.4.0";
- buildInputs = [ gmp mpfr ];
+ buildInputs = [ gmp mpfr six ];
src = fetchPypi {
inherit pname version;
-{ lib, buildPythonPackage, bigfloat, fetchgit }:
+{ lib, buildPythonPackage, libresoc-nmutil, bigfloat, fetchgit }:
buildPythonPackage {
pname = "libresoc-ieee754fpu";
sha256 = "wbr1vGFzUlUtBT6IcRsykADYeksiVoq/LacU/dbRQ0o=";
};
- propagatedBuildInputs = [ bigfloat ];
+ propagatedBuildInputs = [ libresoc-nmutil bigfloat ];
doCheck = false;
--- /dev/null
+{ lib, buildPythonPackage, bigfloat, fetchgit, pyvcd }:
+
+buildPythonPackage {
+ pname = "libresoc-nmutil";
+ version = "unstable-2021-08-24";
+
+ nativeBuildInputs = [ pyvcd ];
+
+ src = fetchgit {
+ url = "https://git.libre-soc.org/git/nmutil.git";
+ rev = "efda080db6978d249a23003bec734f1cc07de329";
+ sha256 = "nTgUiZc4CC0VoUND29kHSIyMlP9IB3oZfehutoNK07w=";
+ };
+
+ doCheck = false;
+
+ meta = with lib; {
+ homepage = "https://pypi.org/project/libresoc-ieee754fpu/";
+ license = licenses.lgpl3Plus;
+ };
+}
-{ lib, buildPythonPackage, fetchgit }:
+{ lib, buildPythonPackage, fetchgit, libresoc-nmutil, astor, nmigen, ply, pygdbmi }:
buildPythonPackage {
pname = "libresoc-openpower-isa";
sha256 = "0EekUouTQruTXGO5jlPJtqh0DOudghILy0nca5eaZz8=";
};
+ propagatedBuildInputs = [ libresoc-nmutil astor nmigen ply pygdbmi ];
+
doCheck = false;
meta = with lib; {