Merge pull request #294811 from patka-123/castor-0.14.0

phpPackages.castor: 0.13.1 -> 0.14.0
This commit is contained in:
Pol Dellaiera 2024-03-11 08:17:52 +01:00 committed by GitHub
commit deed182259
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, installShellFiles
, php
, nix-update-script
@ -8,16 +9,25 @@
php.buildComposerProject (finalAttrs: {
pname = "castor";
version = "0.13.1";
version = "0.14.0";
src = fetchFromGitHub {
owner = "jolicode";
repo = "castor";
rev = "v${finalAttrs.version}";
hash = "sha256-Sm6I306iKVr66sBp+ADeTZAKGToVMc+Y/BCymUdszNc=";
hash = "sha256-sSIkXNW6RR1mx15dKouQLMaHBr5FEkTTc/0QIkWV8sg=";
};
vendorHash = "sha256-KbmovAnejShyVclF4IcZ9ckUOWysfEz3DFqE8OxlzI0=";
patches = [
# Upstream lock is invalid. https://github.com/jolicode/castor/issues/319
(fetchpatch {
name = "fix-invalid-lock.patch";
url = "https://github.com/jolicode/castor/commit/5ff0c3ecbdddad20146adbc2f055b83f5aadba0f.patch";
hash = "sha256-1a3Dpk/UXp92Ugw9zSoLPsbWOJEuP2FBWc/pQ/EKwaM=";
})
];
vendorHash = "sha256-HfEjwlkozeuT4LDnYwiCu7T0spcf4GLhkd7Kc1VRnro=";
nativeBuildInputs = [ installShellFiles ];