mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
php: sha256 -> hash
This commit is contained in:
parent
f65b415ffc
commit
3020f0014c
@ -3,7 +3,7 @@
|
|||||||
let
|
let
|
||||||
base = callPackage ./generic.nix (_args // {
|
base = callPackage ./generic.nix (_args // {
|
||||||
version = "8.0.20";
|
version = "8.0.20";
|
||||||
sha256 = "y3Zmv2ftn2yYfUg2yvA9SzZFN+anXlbNXJhnYOzC/dg=";
|
hash = "sha256-y3Zmv2ftn2yYfUg2yvA9SzZFN+anXlbNXJhnYOzC/dg=";
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
let
|
let
|
||||||
base = callPackage ./generic.nix (_args // {
|
base = callPackage ./generic.nix (_args // {
|
||||||
version = "8.1.7";
|
version = "8.1.7";
|
||||||
sha256 = "uBZ1PrAFUR5pXZCUXCcJPDI2zHPbEmJlbZ+t1z6tfp0=";
|
hash = "sha256-uBZ1PrAFUR5pXZCUXCcJPDI2zHPbEmJlbZ+t1z6tfp0=";
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
@ -29,7 +29,7 @@ let
|
|||||||
, xcbuild
|
, xcbuild
|
||||||
|
|
||||||
, version
|
, version
|
||||||
, sha256
|
, hash
|
||||||
, extraPatches ? [ ]
|
, extraPatches ? [ ]
|
||||||
, packageOverrides ? (final: prev: { })
|
, packageOverrides ? (final: prev: { })
|
||||||
, phpAttrsOverrides ? (attrs: { })
|
, phpAttrsOverrides ? (attrs: { })
|
||||||
@ -290,7 +290,7 @@ let
|
|||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.php.net/distributions/php-${version}.tar.bz2";
|
url = "https://www.php.net/distributions/php-${version}.tar.bz2";
|
||||||
inherit sha256;
|
inherit hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-paths-php7.patch ] ++ extraPatches;
|
patches = [ ./fix-paths-php7.patch ] ++ extraPatches;
|
||||||
|
Loading…
Reference in New Issue
Block a user