pkgs: refactor 'sha256' -> 'hash'

This commit is contained in:
Bruno BELANYI 2023-04-01 16:33:26 +01:00
parent eb34d23e3d
commit ffd3fb06bd
7 changed files with 9 additions and 9 deletions

View file

@ -7,7 +7,7 @@ qt5.mkDerivation rec {
owner = "ambroisie"; owner = "ambroisie";
repo = "dragger"; repo = "dragger";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-WAC720DxfkQxy1BeeGzE6IerFb4ejoMRAPEJv5HGDHM="; hash = "sha256-WAC720DxfkQxy1BeeGzE6IerFb4ejoMRAPEJv5HGDHM=";
}; };
configurePhase = '' configurePhase = ''

View file

@ -7,10 +7,10 @@ buildGoModule rec {
owner = "appleboy"; owner = "appleboy";
repo = "drone-scp"; repo = "drone-scp";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-ELjPqoRR4O6gmc/PgthQuSXuSTQNzBZoAUT80zVVbV0="; hash = "sha256-ELjPqoRR4O6gmc/PgthQuSXuSTQNzBZoAUT80zVVbV0=";
}; };
vendorSha256 = "sha256-/c103hTJ/Qdz2KTkdl/ACvAaSSTKcl1DQY3+Us6OxaI="; vendorHash = "sha256-/c103hTJ/Qdz2KTkdl/ACvAaSSTKcl1DQY3+Us6OxaI=";
doCheck = false; # Needs a specific user... doCheck = false; # Needs a specific user...

View file

@ -6,7 +6,7 @@ buildGoModule rec {
src = fetchgit { src = fetchgit {
url = "https://git.clsr.net/util/ff2mpv-go/"; url = "https://git.clsr.net/util/ff2mpv-go/";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-e/AuOA3isFTyBf97Zwtr16yo49UdYzvktV5PKB/eH/s="; hash = "sha256-e/AuOA3isFTyBf97Zwtr16yo49UdYzvktV5PKB/eH/s=";
}; };
vendorHash = null; vendorHash = null;

View file

@ -1,13 +1,13 @@
{ lib, curl, jq, fetchFromGitHub, makeWrapper, pandoc, stdenvNoCC }: { lib, curl, jq, fetchFromGitHub, makeWrapper, pandoc, stdenvNoCC }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "matrix-notifier"; pname = "matrix-notifier";
version = "0.2.0"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ambroisie"; owner = "ambroisie";
repo = "matrix-notifier"; repo = "matrix-notifier";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-JiKPDrr9wyD2q5Vsac+OkFdvrDkx6mj/oC7XDVnka74="; hash = "sha256-JiKPDrr9wyD2q5Vsac+OkFdvrDkx6mj/oC7XDVnka74=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -7,7 +7,7 @@ stdenvNoCC.mkDerivation rec {
owner = "StevenBlack"; owner = "StevenBlack";
repo = "hosts"; repo = "hosts";
rev = version; rev = version;
sha256 = "sha256-HoNX57lCoIr36B/7HMuazWSWeAPPfWY1oZf6dXnxYIE="; hash = "sha256-HoNX57lCoIr36B/7HMuazWSWeAPPfWY1oZf6dXnxYIE=";
}; };
dontUnpack = true; dontUnpack = true;

View file

@ -10,7 +10,7 @@ stdenvNoCC.mkDerivation rec {
owner = "vinceliuice"; owner = "vinceliuice";
repo = pname; repo = pname;
rev = "27ebb1935944bc986bf8ae85ee3343b8351d9823"; rev = "27ebb1935944bc986bf8ae85ee3343b8351d9823";
sha256 = "sha256-bIPRrKaNQ2Eo+T6zv7qeA1z7uRHXezM0yxh+uqA01Gs="; hash = "sha256-bIPRrKaNQ2Eo+T6zv7qeA1z7uRHXezM0yxh+uqA01Gs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -7,7 +7,7 @@ stdenvNoCC.mkDerivation rec {
owner = "varlesh"; owner = "varlesh";
repo = pname; repo = pname;
rev = "d1d290ff42cc4fa643716551bd0b02582b90fd2f"; rev = "d1d290ff42cc4fa643716551bd0b02582b90fd2f";
sha256 = "sha256-irMN/enoo90nYLfvSOScZoYdvhZKvqqp+grZB2BQD9o="; hash = "sha256-irMN/enoo90nYLfvSOScZoYdvhZKvqqp+grZB2BQD9o=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [