distributable: url: https://ftp.gnu.org/gnu/nettle/nettle-{{version}}.tar.gz strip-components: 1 versions: github: gnutls/nettle/tags strip: - /^nettle_/ - /_release_\d+/ build: dependencies: gnu.org/gmp: '*' gnu.org/m4: '*' script: | ./configure --prefix={{ prefix }} make --jobs {{ hw.concurrency }} install test: dependencies: script: | mv $FIXTURE test.c cc -lnettle -o test test.c ./test fixture: | #include #include int main() { struct sha1_ctx ctx; uint8_t digest[SHA1_DIGEST_SIZE]; unsigned i; sha1_init(&ctx); sha1_update(&ctx, 4, "test"); sha1_digest(&ctx, SHA1_DIGEST_SIZE, digest); printf("SHA1(test)="); for (i = 0; i