agate: 3.3.16 -> 3.3.17 (#420517)

authored by Nikolay Korotkiy and committed by GitHub ad0b62fd d4d3af4b

+18 -20
+18 -20
pkgs/by-name/ag/agate/package.nix
··· 1 { 2 lib, 3 - stdenv, 4 - nixosTests, 5 fetchFromGitHub, 6 rustPlatform, 7 - openssl, 8 pkg-config, 9 nix-update-script, 10 }: 11 12 - rustPlatform.buildRustPackage rec { 13 pname = "agate"; 14 - version = "3.3.16"; 15 16 src = fetchFromGitHub { 17 owner = "mbrubeck"; 18 repo = "agate"; 19 - tag = "v${version}"; 20 - hash = "sha256-TLLmoQXrvgDskmH9sKxUi5AqYrCR0ZaJJdbOV03IbMc="; 21 }; 22 23 - useFetchCargoVendor = true; 24 - cargoHash = "sha256-HA1h06ZlWvq7z5hJFqKxGtXNk8/GHxUivigaVqWQCvA="; 25 26 nativeBuildInputs = [ pkg-config ]; 27 - 28 buildInputs = [ openssl ]; 29 30 doInstallCheck = true; 31 - installCheckPhase = '' 32 - runHook preInstallCheck 33 - $out/bin/agate --help 34 - $out/bin/agate --version 2>&1 | grep "agate ${version}" 35 - runHook postInstallCheck 36 - ''; 37 - 38 - __darwinAllowLocalNetworking = true; 39 40 passthru = { 41 tests = { ··· 46 47 meta = { 48 homepage = "https://github.com/mbrubeck/agate"; 49 - changelog = "https://github.com/mbrubeck/agate/releases/tag/v${version}"; 50 description = "Very simple server for the Gemini hypertext protocol"; 51 mainProgram = "agate"; 52 longDescription = '' ··· 57 ''; 58 license = with lib.licenses; [ 59 asl20 60 mit 61 ]; 62 maintainers = with lib.maintainers; [ jk ]; 63 }; 64 - }
··· 1 { 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 + 6 pkg-config, 7 + openssl, 8 + 9 + versionCheckHook, 10 + 11 nix-update-script, 12 + nixosTests, 13 }: 14 15 + rustPlatform.buildRustPackage (finalAttrs: { 16 pname = "agate"; 17 + version = "3.3.17"; 18 + 19 + __darwinAllowLocalNetworking = true; 20 21 src = fetchFromGitHub { 22 owner = "mbrubeck"; 23 repo = "agate"; 24 + tag = "v${finalAttrs.version}"; 25 + hash = "sha256-zT56JGP2SfOqLL/sLxo3PHnbAvLI+lifmCvLdPwzCZM="; 26 }; 27 28 + cargoHash = "sha256-vemmO7xYf83rBNEvJKaq5CjobG1LUxt7M5zeQegTUmM="; 29 30 nativeBuildInputs = [ pkg-config ]; 31 buildInputs = [ openssl ]; 32 33 + nativeInstallCheckInputs = [ versionCheckHook ]; 34 + 35 doInstallCheck = true; 36 37 passthru = { 38 tests = { ··· 43 44 meta = { 45 homepage = "https://github.com/mbrubeck/agate"; 46 + changelog = "https://github.com/mbrubeck/agate/releases/tag/v${finalAttrs.version}"; 47 description = "Very simple server for the Gemini hypertext protocol"; 48 mainProgram = "agate"; 49 longDescription = '' ··· 54 ''; 55 license = with lib.licenses; [ 56 asl20 57 + # or 58 mit 59 ]; 60 maintainers = with lib.maintainers; [ jk ]; 61 }; 62 + })