mirror of
https://codeberg.org/demostf/api-test.git
synced 2026-11-30 04:00:49 +01:00
28 lines
627 B
Nix
28 lines
627 B
Nix
{
|
|
php,
|
|
fetchFromGitea,
|
|
}: let
|
|
phpWithExtensions = php.withExtensions ({
|
|
enabled,
|
|
all,
|
|
}:
|
|
enabled ++ (with all; [pdo apcu]));
|
|
in
|
|
phpWithExtensions.buildComposerProject (finalAttrs: {
|
|
pname = "demostf-api";
|
|
version = "0.1.0";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "demostf";
|
|
repo = "api";
|
|
rev = "fff9070dfb14a7d8b07427e50395009f079339f0";
|
|
hash = "sha256-yBpQGXAL19z7J2t4dYr1LP3+2d8C9cLY9WvjMtjs2rw=";
|
|
};
|
|
|
|
vendorHash = "sha256-EYWCR2aJAoyWvEX+SML4Fb3F3KGcUtwCgqhAGT6ZjZ4=";
|
|
|
|
composerStrictValidation = true;
|
|
|
|
doCheck = false;
|
|
})
|