diff options
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r-- | pkgs/tools/package-management/fusesoc/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/fusesoc/default.nix b/pkgs/tools/package-management/fusesoc/default.nix new file mode 100644 index 0000000000000..92a8dc1807b98 --- /dev/null +++ b/pkgs/tools/package-management/fusesoc/default.nix @@ -0,0 +1,39 @@ +{ buildPythonPackage +, fetchPypi +, lib +, verilog +, verilator +, gnumake +, gcc +, edalize +, fastjsonschema +, pyparsing +, pyyaml +, simplesat +, ipyxact +, setuptools-scm +}: +buildPythonPackage rec { + pname = "fusesoc"; + version = "2.2.1"; + + src = fetchPypi { + inherit pname version; + hash = "sha256-M36bXBgY8hR33AVDlHoH8PZJG2Bi0KOEI07IMns7R4w="; + }; + + nativeBuildInputs = [ setuptools-scm ]; + + propagatedBuildInputs = [ edalize fastjsonschema pyparsing pyyaml simplesat ipyxact ]; + + pythonImportsCheck = [ "fusesoc" ]; + + makeWrapperArgs = [ "--suffix PATH : ${lib.makeBinPath [ verilog verilator gnumake ]}"]; + + meta = with lib; { + homepage = "https://github.com/olofk/fusesoc"; + description = "A package manager and build tools for HDL code"; + maintainers = with maintainers; [ genericnerdyusername ]; + license = licenses.bsd3; + }; +} |