Skyler Grey | 87ff387 | 2023-01-26 01:13:22 +0000 | [diff] [blame] | 1 | { lib |
| 2 | , fetchFromGitHub |
| 3 | , pkg-config |
| 4 | , openssl |
| 5 | , system |
| 6 | , _tooling |
| 7 | , packageSets |
| 8 | , ... |
| 9 | }: |
| 10 | let |
| 11 | craneLib = _tooling.crane.lib.${system}.overrideToolchain |
| 12 | packageSets.fenix.latest.toolchain; |
| 13 | in |
| 14 | craneLib.buildPackage |
Skyler Grey | f4c2e67 | 2022-10-31 00:29:45 +0000 | [diff] [blame] | 15 | rec { |
| 16 | pname = "enso"; |
Skyler Grey | 87ff387 | 2023-01-26 01:13:22 +0000 | [diff] [blame] | 17 | version = "2023.1.1-nightly.2023.1.24"; |
Skyler Grey | f4c2e67 | 2022-10-31 00:29:45 +0000 | [diff] [blame] | 18 | |
Skyler Grey | 87ff387 | 2023-01-26 01:13:22 +0000 | [diff] [blame] | 19 | src = craneLib.cleanCargoSource (fetchFromGitHub { |
Skyler Grey | f4c2e67 | 2022-10-31 00:29:45 +0000 | [diff] [blame] | 20 | owner = "enso-org"; |
| 21 | repo = "enso"; |
| 22 | rev = version; |
Skyler Grey | 87ff387 | 2023-01-26 01:13:22 +0000 | [diff] [blame] | 23 | sha256 = "sha256-kwUIIVhw9fb5FlAxlQxcgalIHZ9nz4ey3CSzbQgMyQM="; |
| 24 | }); |
Skyler Grey | f4c2e67 | 2022-10-31 00:29:45 +0000 | [diff] [blame] | 25 | |
| 26 | buildInputs = [ openssl.dev ]; |
| 27 | nativeBuildInputs = [ pkg-config ]; |
Skyler Grey | f4c2e67 | 2022-10-31 00:29:45 +0000 | [diff] [blame] | 28 | } |