From bcf6ed72e9897774758060323f74c8ae93dd1536 Mon Sep 17 00:00:00 2001 From: Karolis Stasaitis Date: Wed, 13 Nov 2024 09:17:27 +0100 Subject: [PATCH] cynthion: init at 0.1.7 --- pkgs/by-name/cy/cynthion/package.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pkgs/by-name/cy/cynthion/package.nix diff --git a/pkgs/by-name/cy/cynthion/package.nix b/pkgs/by-name/cy/cynthion/package.nix new file mode 100644 index 00000000000000..70c767cf8ef76e --- /dev/null +++ b/pkgs/by-name/cy/cynthion/package.nix @@ -0,0 +1,26 @@ +{ + python3, + fetchFromGitHub, +}: + +let + python = python3.override { + self = python3; + packageOverrides = _: super: { + amaranth = super.amaranth.overridePythonAttrs rec { + version = "0.4.1"; + + src = fetchFromGitHub { + owner = "amaranth-lang"; + repo = "amaranth"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-VMgycvxkphdpWIib7aZwh588En145RgYlG2Zfi6nnDo="; + }; + + postPatch = null; + }; + }; + }; +in + +python.pkgs.toPythonApplication python.pkgs.cynthion