spicetify-cli: change sha256 to hash and don't use pname

https://github.com/NixOS/nixpkgs/pull/236215#discussion_r1222859377
From SuperSandro2000 on Matrix:
> People should generally not use `pname` wherever possible especially with `finalAttrs` where `pname` could be different.

Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
This commit is contained in:
Lauren Yim
2023-06-08 23:58:41 +10:00
committed by cherryblossom
co-authored by Pol Dellaiera
parent fbb31c62e8
commit 116e050d76
@@ -6,9 +6,9 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "spicetify";
repo = pname;
repo = "spicetify-cli";
rev = "v${version}";
sha256 = "sha256-6pOFDQqzxA1eHI66BHL9Yst1PtGyJzhmFveCErBA2pU=";
hash = "sha256-6pOFDQqzxA1eHI66BHL9Yst1PtGyJzhmFveCErBA2pU=";
};
vendorHash = "sha256-g0SuXDzYjg0mGzeDuB2tQnVnDmTiL5vw0r9QWSgIs3Q=";