Merge pull request #297914 from t4ccer/t4/aiken/init

aiken: init at 1.0.29-alpha

authored by Peder Bergebakken Sundt and committed by GitHub 021270be c6a4f2c6

+44
+44
pkgs/by-name/ai/aiken/package.nix
··· 1 + { 2 + lib, 3 + openssl, 4 + pkg-config, 5 + rustPlatform, 6 + fetchFromGitHub, 7 + darwin, 8 + stdenv, 9 + }: 10 + 11 + rustPlatform.buildRustPackage rec { 12 + pname = "aiken"; 13 + version = "1.0.29-alpha"; # all releases are 'alpha' 14 + 15 + src = fetchFromGitHub { 16 + owner = "aiken-lang"; 17 + repo = "aiken"; 18 + rev = "v${version}"; 19 + hash = "sha256-fikXypc9HKil4Ut4jdgQtTTy/CHEogEpDprwdTgd9b4="; 20 + }; 21 + 22 + cargoHash = "sha256-UWDPXnq2k/PoogrfuW93ieRW8AfuNIEfri9Jo6gHkdg="; 23 + 24 + buildInputs = 25 + [ openssl ] 26 + ++ lib.optionals stdenv.isDarwin ( 27 + with darwin.apple_sdk.frameworks; 28 + [ 29 + Security 30 + CoreServices 31 + SystemConfiguration 32 + ] 33 + ); 34 + 35 + nativeBuildInputs = [ pkg-config ]; 36 + 37 + meta = { 38 + description = "Modern smart contract platform for Cardano"; 39 + homepage = "https://aiken-lang.org"; 40 + license = lib.licenses.asl20; 41 + maintainers = with lib.maintainers; [ t4ccer ]; 42 + mainProgram = "aiken"; 43 + }; 44 + }