Skyler Grey | f4c2e67 | 2022-10-31 00:29:45 +0000 | [diff] [blame] | 1 | { lib, rustPlatform, fetchFromGitHub, packageSets, pkg-config, openssl, ... }: |
| 2 | rustPlatform.buildRustPackage.override |
| 3 | { |
| 4 | rustc = packageSets.fenix.minimal.rustc; |
| 5 | } |
| 6 | rec { |
| 7 | pname = "enso"; |
| 8 | version = "2022.1.1-nightly.2022-10-19"; |
| 9 | |
| 10 | src = fetchFromGitHub { |
| 11 | owner = "enso-org"; |
| 12 | repo = "enso"; |
| 13 | rev = version; |
| 14 | sha256 = "sha256-YCTDxKVzrEDW+LWLyNC/GXh4WfcAuPtwo8VpSllYycI="; |
| 15 | }; |
| 16 | |
| 17 | buildInputs = [ openssl.dev ]; |
| 18 | nativeBuildInputs = [ pkg-config ]; |
| 19 | |
| 20 | cargoLock = { |
| 21 | lockFile = "${src}/Cargo.lock"; |
| 22 | outputHashes = { |
| 23 | "console_error_panic_hook-0.1.7" = "sha256-1RhnLNB04DlsOuBis0bjRLPlJ+hvMF+n+olOaTF2TjM="; |
| 24 | "octocrab-0.17.0" = "sha256-0qJvDrwi2FARHyi8597fYJ8V2LuKiZXh9+Hy/2DsBTM="; |
| 25 | }; |
| 26 | }; |
| 27 | } |