nixpkgs/pkgs/by-name/cy/cynthion/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
538 B
Nix
Raw Normal View History

2024-11-13 08:17:27 +00:00
{
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