fix: replace sha256 with hash and stop using pname

This commit is contained in:
Harsh Shandilya 2023-06-28 17:18:27 +00:00
parent 4c7652ab85
commit a1a8558d90
8 changed files with 11 additions and 11 deletions

View File

@ -9,9 +9,9 @@ stdenvNoCC.mkDerivation rec {
src = fetchFromGitHub {
owner = "msfjarvis";
repo = pname;
repo = "adb-sync";
rev = "v${version}";
sha256 = "0di7n6npziq37jz18k7kkiwhv1v3yphyhj0a3sjmx6p14rwjx0ms";
hash = "sha256-uoIueSbhml6lHgpI6OH1Y4cNeZzzTBS+PAPHf62xJzY=";
};
outputs = ["out"];

View File

@ -8,7 +8,7 @@ stdenvNoCC.mkDerivation rec {
version = "1.15.1";
src = fetchurl {
url = "https://github.com/google/bundletool/releases/download/${version}/bundletool-all-${version}.jar";
sha256 = "sha256-rsncZPslrMZOtmi0XA7GoOu6MNtKLghLYbevCnOAoOE=";
hash = "sha256-rsncZPslrMZOtmi0XA7GoOu6MNtKLghLYbevCnOAoOE=";
};
dontUnpack = true;

View File

@ -8,7 +8,7 @@ stdenvNoCC.mkDerivation rec {
version = "0.1.0";
src = fetchurl {
url = "https://github.com/JakeWharton/diffuse/releases/download/${version}/diffuse-${version}-binary.jar";
sha256 = "sha256-YNYZNzxGpdBrgSbB1h4K3Bi3Lyy7kkXvkg0zh+RLhs8=";
hash = "sha256-YNYZNzxGpdBrgSbB1h4K3Bi3Lyy7kkXvkg0zh+RLhs8=";
};
dontUnpack = true;

View File

@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
owner = "msfjarvis";
repo = "healthchecks-rs";
rev = "hcctl-v${version}";
sha256 = "sha256-9HdBgz6Am5k0S6d2hkRXDS+L3haJnaFMu/lcDIC21Ro=";
hash = "sha256-9HdBgz6Am5k0S6d2hkRXDS+L3haJnaFMu/lcDIC21Ro=";
};
buildInputs =

View File

@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
owner = "msfjarvis";
repo = "healthchecks-rs";
rev = "healthchecks-monitor-v${version}";
sha256 = "sha256-9HdBgz6Am5k0S6d2hkRXDS+L3haJnaFMu/lcDIC21Ro=";
hash = "sha256-9HdBgz6Am5k0S6d2hkRXDS+L3haJnaFMu/lcDIC21Ro=";
};
buildInputs =

View File

@ -19,9 +19,9 @@ in
src = fetchFromGitHub {
owner = "msfjarvis";
repo = pname;
repo = "linkleaner";
rev = "v${version}";
sha256 = "sha256-yp7dhOl8Wt8/LO0HXe3DB2prsXH+D6oIVEOLVwY/Gzs=";
hash = "sha256-yp7dhOl8Wt8/LO0HXe3DB2prsXH+D6oIVEOLVwY/Gzs=";
};
buildInputs =

View File

@ -8,7 +8,7 @@ stdenvNoCC.mkDerivation rec {
version = "3.0";
src = fetchurl {
url = "https://github.com/IdreesInc/Monocraft/releases/download/v${version}/Monocraft-nerd-fonts-patched.ttf";
sha256 = "sha256-QxMp8UwcRjWySNHWoNeX2sX9teZ4+tCFj+DG41azsXw=";
hash = "sha256-QxMp8UwcRjWySNHWoNeX2sX9teZ4+tCFj+DG41azsXw=";
};
dontUnpack = true;

View File

@ -12,9 +12,9 @@ stdenvNoCC.mkDerivation rec {
src = fetchFromGitHub {
owner = "msfjarvis";
repo = pname;
repo = "pidcat";
rev = "v${version}";
sha256 = "sha256-VOIND2CzWo+LV84C+FbTC0r3FqY7VpBaWn95IKTYFT8=";
hash = "sha256-VOIND2CzWo+LV84C+FbTC0r3FqY7VpBaWn95IKTYFT8=";
};
nativeBuildInputs = [installShellFiles];