Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, fetchFromGitHub, buildPythonPackage,
# build-system setuptools,
# dependencies deprecation, prompt-toolkit, pyusb, pyvcd, pyxdg,}:
buildPythonPackage rec { pname = "apollo-fpga"; version = "1.1.1"; pyproject = true;
src = fetchFromGitHub { owner = "greatscottgadgets"; repo = "apollo"; tag = "v${version}"; hash = "sha256-EDI+bRDePEbkxfQKuDgRsJtlAE0jqcIoQHjpgW0jIoY="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail '"setuptools-git-versioning<2"' "" \ --replace-fail 'dynamic = ["version"]' 'version = "${version}"' '';
build-system = [ setuptools ];
dependencies = [ deprecation prompt-toolkit pyusb pyvcd pyxdg ];
# has no tests doCheck = false;
pythonImportsCheck = [ "apollo_fpga" ];
meta = { changelog = "https://github.com/greatscottgadgets/apollo/releases/tag/v${version}"; description = "Microcontroller-based FPGA / JTAG programmer"; homepage = "https://github.com/greatscottgadgets/apollo"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ carlossless ]; };}