nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 74 lines 1.6 kB view raw
1{ 2 python3Packages, 3 fetchPypi, 4 lib, 5 iverilog, 6 verilator, 7 gnumake, 8 gitMinimal, 9 openssh, 10 writableTmpDirAsHomeHook, 11}: 12python3Packages.buildPythonApplication rec { 13 pname = "fusesoc"; 14 version = "2.4.5"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-VBjJ7wiEz441iVquLMGabtdYbK07+dtHY05x8QzdSL8="; 20 }; 21 22 build-system = with python3Packages; [ 23 setuptools 24 setuptools-scm 25 ]; 26 27 dependencies = with python3Packages; [ 28 edalize 29 pyparsing 30 pyyaml 31 simplesat 32 fastjsonschema 33 argcomplete 34 ]; 35 36 nativeCheckInputs = [ 37 gitMinimal 38 openssh 39 python3Packages.pytestCheckHook 40 writableTmpDirAsHomeHook 41 ]; 42 43 pythonImportsCheck = [ "fusesoc" ]; 44 45 disabledTestPaths = [ 46 # These tests require network access 47 "tests/test_coremanager.py::test_export" 48 "tests/test_libraries.py::test_library_add" 49 "tests/test_libraries.py::test_library_update_with_initialize" 50 "tests/test_provider.py::test_git_provider" 51 "tests/test_provider.py::test_github_provider" 52 "tests/test_provider.py::test_url_provider" 53 "tests/test_usecases.py::test_git_library_with_default_branch_is_added_and_updated" 54 "tests/test_usecases.py::test_update_git_library_with_fixed_version" 55 ]; 56 57 makeWrapperArgs = [ 58 "--suffix PATH : ${ 59 lib.makeBinPath [ 60 iverilog 61 verilator 62 gnumake 63 ] 64 }" 65 ]; 66 67 meta = { 68 homepage = "https://github.com/olofk/fusesoc"; 69 description = "Package manager and build tools for HDL code"; 70 maintainers = [ ]; 71 license = lib.licenses.bsd3; 72 mainProgram = "fusesoc"; 73 }; 74}