Merge pull request #173272 from yayayayaka/snipe-it-6.0.0

snipe-it: 5.4.3 -> 6.0.2
This commit is contained in:
Guillaume Girol 2022-06-06 12:05:31 +00:00 committed by GitHub
commit 924479df58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 638 additions and 302 deletions

View File

@ -5,10 +5,6 @@ let
inherit pkgs;
inherit (stdenv.hostPlatform) system;
noDev = true; # Disable development dependencies
# Requires PHP >= 7.4 and PHP < 8.0 as of v5.4.3
# https://snipe-it.readme.io/docs/requirements
php = pkgs.php74;
phpPackages = pkgs.php74Packages;
}).overrideAttrs (attrs : {
installPhase = attrs.installPhase + ''
rm -R $out/storage $out/public/uploads $out/bootstrap/cache
@ -22,13 +18,13 @@ let
in package.override rec {
pname = "snipe-it";
version = "5.4.3";
version = "6.0.2";
src = fetchFromGitHub {
owner = "snipe";
repo = pname;
rev = "v${version}";
sha256 = "053cm5vb0806sj61g0zf0xqqzlchgkdj8zwkry07mhjdbp1k8k7n";
sha256 = "174s2h3whim98d9h8l4qr3vpk199zfxgwyys3d3gblpx1m5mr07k";
};
meta = with lib; {

File diff suppressed because it is too large Load Diff