8 rustPlatform.buildRustPackage rec {
9 pname = "sus-compiler";
12 src = fetchFromGitHub {
14 repo = "sus-compiler";
16 hash = "sha256-f93uT6ELW3T2Xd539EfZCf2LSbxcYnEX+smmLzBAxqc=";
17 fetchSubmodules = true;
20 # no lockfile upstream
21 cargoLock.lockFile = ./Cargo.lock;
24 ln -s ${./Cargo.lock} Cargo.lock
27 doInstallCheck = true;
28 nativeInstallCheckInputs = [ versionCheckHook ];
29 versionCheckProgram = "${placeholder "out"}/bin/sus_compiler";
32 description = "A new Hardware Design Language that keeps you in the driver's seat";
33 homepage = "https://github.com/pc2/sus-compiler";
34 license = lib.licenses.gpl3Only;
35 maintainers = with lib.maintainers; [ pbsds ];
36 mainProgram = "sus_compiler";