From 07bf05a7869c88c27912833c1db942f8fc849f4d Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sun, 11 Jun 2023 20:12:29 -0600 Subject: pkgs: add existing derivations written for other projects --- pkgs/cocotb/exts/wishbone.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/cocotb/exts/wishbone.nix (limited to 'pkgs/cocotb/exts') diff --git a/pkgs/cocotb/exts/wishbone.nix b/pkgs/cocotb/exts/wishbone.nix new file mode 100644 index 0000000..5dd375b --- /dev/null +++ b/pkgs/cocotb/exts/wishbone.nix @@ -0,0 +1,18 @@ +{ buildPythonPackage, cocotb, cocotb-bus, fetchFromGitHub, git, setuptools-scm }: +buildPythonPackage { + pname = "cocotbext-wishbone"; + version = "master-2022-04-26"; + + src = fetchFromGitHub { + repo = "cocotbext-wishbone"; + owner = "wallento"; + + rev = "3c667834f41c3c40dd4647b5a7b9e4e71e1302c4"; + sha256 = "sha256-vden1hZ9V1aqxFWu/vKmOfWfzINAopJRKTPKOpOiNkU="; + + leaveDotGit = true; + }; + + nativeBuildInputs = [ git setuptools-scm ]; + propagatedBuildInputs = [ cocotb cocotb-bus setuptools-scm ]; +} -- cgit v1.2.3