mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
firefly-iii: 6.2.9 -> 6.2.10 (#392103)
This commit is contained in:
commit
ceb0682fe3
1 changed files with 14 additions and 25 deletions
|
@ -13,13 +13,13 @@
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
pname = "firefly-iii";
|
pname = "firefly-iii";
|
||||||
version = "6.2.9";
|
version = "6.2.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "firefly-iii";
|
owner = "firefly-iii";
|
||||||
repo = "firefly-iii";
|
repo = "firefly-iii";
|
||||||
tag = "v${finalAttrs.version}";
|
tag = "v${finalAttrs.version}";
|
||||||
hash = "sha256-CF/Q7kLpNJuFxCvFuHdrobApjgnr4Fh991kgZLK0I5w=";
|
hash = "sha256-T3XXUhls4Oi/0PGuunMLk6Wvla18fvHHI78qKsweFTE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ php84 ];
|
buildInputs = [ php84 ];
|
||||||
|
@ -28,35 +28,23 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
nodejs
|
nodejs
|
||||||
nodejs.python
|
nodejs.python
|
||||||
buildPackages.npmHooks.npmConfigHook
|
buildPackages.npmHooks.npmConfigHook
|
||||||
php84.composerHooks.composerInstallHook
|
php84.composerHooks2.composerInstallHook
|
||||||
php84.packages.composer-local-repo-plugin
|
|
||||||
];
|
];
|
||||||
|
|
||||||
composerNoDev = true;
|
composerVendor = php84.mkComposerVendor {
|
||||||
composerNoPlugins = true;
|
inherit (finalAttrs) pname src version;
|
||||||
composerNoScripts = true;
|
|
||||||
composerStrictValidation = true;
|
|
||||||
strictDeps = true;
|
|
||||||
|
|
||||||
vendorHash = "sha256-AMJ5Adyrks7Yk8X4ypwz0OdOlCWx+I2jfJQsX7SPvzk=";
|
|
||||||
|
|
||||||
npmDeps = fetchNpmDeps {
|
|
||||||
inherit (finalAttrs) src;
|
|
||||||
name = "${finalAttrs.pname}-npm-deps";
|
|
||||||
hash = "sha256-XBJz2ILQOFHfW940A4kS7115gVsUTM1oA/vcjw3NZ2A=";
|
|
||||||
};
|
|
||||||
|
|
||||||
composerRepository = php84.mkComposerRepository {
|
|
||||||
inherit (finalAttrs)
|
|
||||||
pname
|
|
||||||
src
|
|
||||||
vendorHash
|
|
||||||
version
|
|
||||||
;
|
|
||||||
composerNoDev = true;
|
composerNoDev = true;
|
||||||
composerNoPlugins = true;
|
composerNoPlugins = true;
|
||||||
composerNoScripts = true;
|
composerNoScripts = true;
|
||||||
composerStrictValidation = true;
|
composerStrictValidation = true;
|
||||||
|
strictDeps = true;
|
||||||
|
vendorHash = "sha256-pYnBiuzuTPP+7KSHUOj9mt+TTzgH85KeavXUfMN1ctI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
npmDeps = fetchNpmDeps {
|
||||||
|
inherit (finalAttrs) src;
|
||||||
|
name = "${finalAttrs.pname}-npm-deps";
|
||||||
|
hash = "sha256-BX8YYnewcnnOQa788DPSIID5Drqw7XhYGHcevPy0JrA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
|
@ -71,6 +59,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
chmod -R u+w $out/share
|
||||||
mv $out/share/php/firefly-iii/* $out/
|
mv $out/share/php/firefly-iii/* $out/
|
||||||
rm -R $out/share $out/storage $out/bootstrap/cache $out/node_modules
|
rm -R $out/share $out/storage $out/bootstrap/cache $out/node_modules
|
||||||
ln -s ${dataDir}/storage $out/storage
|
ln -s ${dataDir}/storage $out/storage
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue