ffmpeg: substitute sha256sum with hash

This commit is contained in:
arthsmn 2023-12-03 15:41:02 -03:00
parent 713e7bb27b
commit ebd5a51661
4 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
import ./generic.nix {
version = "4.4.4";
sha256 = "sha256-Q8bkuF/1uJfqttJJoObnnLX3BEduv+qxsvOrVhMvRjA=";
hash = "sha256-Q8bkuF/1uJfqttJJoObnnLX3BEduv+qxsvOrVhMvRjA=";
extraPatches = [
{
name = "libsvtav1-1.5.0-compat-compressed_ten_bit_format.patch";

View file

@ -1,6 +1,6 @@
import ./generic.nix {
version = "5.1.3";
sha256 = "sha256-twfJvANLQGO7TiyHPMPqApfHLFUlOGZTTIIGEnjyvuE=";
hash = "sha256-twfJvANLQGO7TiyHPMPqApfHLFUlOGZTTIIGEnjyvuE=";
extraPatches = [
{
name = "libsvtav1-1.5.0-compat-compressed_ten_bit_format.patch";

View file

@ -1,4 +1,4 @@
import ./generic.nix {
version = "6.0";
sha256 = "sha256-RVbgsafIbeUUNXmUbDQ03ZN42oaUo0njqROo7KOQgv0=";
hash = "sha256-RVbgsafIbeUUNXmUbDQ03ZN42oaUo0njqROo7KOQgv0=";
}

View file

@ -1,4 +1,4 @@
{ version, sha256, extraPatches ? [] }:
{ version, hash, extraPatches ? [] }:
{ lib, stdenv, buildPackages, removeReferencesTo, addOpenGLRunpath, pkg-config, perl, texinfo, yasm
@ -334,7 +334,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchgit {
url = "https://git.ffmpeg.org/ffmpeg.git";
rev = "n${finalAttrs.version}";
inherit sha256;
inherit hash;
};
postPatch = ''