Merge pull request #294811 from patka-123/castor-0.14.0
phpPackages.castor: 0.13.1 -> 0.14.0
This commit is contained in:
commit
deed182259
1 changed files with 13 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, php
|
, php
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
|
@ -8,16 +9,25 @@
|
||||||
|
|
||||||
php.buildComposerProject (finalAttrs: {
|
php.buildComposerProject (finalAttrs: {
|
||||||
pname = "castor";
|
pname = "castor";
|
||||||
version = "0.13.1";
|
version = "0.14.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jolicode";
|
owner = "jolicode";
|
||||||
repo = "castor";
|
repo = "castor";
|
||||||
rev = "v${finalAttrs.version}";
|
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 ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue