mirror of
https://codeberg.org/demostf/api-test.git
synced 2026-11-30 04:00:49 +01:00
flake update
This commit is contained in:
parent
24dddb5e6d
commit
743fdeabe4
5 changed files with 39 additions and 37 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
php,
|
||||
fetchFromGitHub,
|
||||
fetchFromGitea,
|
||||
}: let
|
||||
phpWithExtensions = php.withExtensions ({
|
||||
enabled,
|
||||
|
|
@ -12,16 +12,17 @@ in
|
|||
pname = "demostf-api";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "demostf";
|
||||
repo = "api";
|
||||
rev = "52b9bc09fd187bf3bbc11dbe4443af0e07a716a4";
|
||||
hash = "sha256-iMU7C2g76w5d5CtxRW5H50FxY+UlOc5gSpjxxbVyqUw=";
|
||||
rev = "fff9070dfb14a7d8b07427e50395009f079339f0";
|
||||
hash = "sha256-yBpQGXAL19z7J2t4dYr1LP3+2d8C9cLY9WvjMtjs2rw=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-EYWCR2aJAoyWvEX+SML4Fb3F3KGcUtwCgqhAGT6ZjZ4=";
|
||||
|
||||
composerStrictValidation = false;
|
||||
composerStrictValidation = true;
|
||||
|
||||
doCheck = false;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchFromGitea,
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "demostf-parser";
|
||||
version = "0.5.1";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "demostf";
|
||||
repo = "parser";
|
||||
rev = "0cd87a8a40e2a6af637d831b272c2758cebd2f9c";
|
||||
hash = "sha256-bKcc0hWTkdYUDMI/DjUh45abuBeQEvkn6TsuAz02H5Y=";
|
||||
rev = "v0.6.1";
|
||||
hash = "sha256-Hia97pYryYNal1HCoyt8RzAyqXoBp45gD3ERePIfNvs=";
|
||||
};
|
||||
|
||||
cargoBuildFlags = ''
|
||||
|
|
@ -19,5 +20,5 @@ rustPlatform.buildRustPackage {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
cargoHash = "sha256-/Fnw6l2fznrBK780E4q1PKFOkT0eiL+dE+UuhFA+V9M=";
|
||||
cargoHash = "sha256-FidQgOAfNyzhMs3aaT/FVJ/70XG/Z6GW3/MohegaJMw=";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@
|
|||
DB_DATABASE = "demostf";
|
||||
DB_USERNAME = "demostf";
|
||||
APP_ROOT = "http://localhost";
|
||||
EDIT_SECRET = "edit";
|
||||
EDIT_KEY = "edit";
|
||||
ACCESS_KEY = "access";
|
||||
PARSER_PATH = "${pkgs.demostf-parser}/bin/parse_demo";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue