chroma: 0.9.2 -> 0.9.4

cmd/chroma is no longer a sub package, but its own module which we need
to account for.
This commit is contained in:
sternenseemann 2021-10-17 13:29:00 +02:00 committed by sterni
parent e92075e4e6
commit 22a15615c7

View file

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "chroma";
version = "0.9.2";
version = "0.9.4";
src = fetchFromGitHub {
owner = "alecthomas";
repo = pname;
rev = "v${version}";
sha256 = "19d7yr6q8kwrm91yyglmw9n7wa861sgi6dbwn8sl6dp55czfwvaq";
sha256 = "14jp6f83ca2srcylf9w6v7cvznrm1sbpcs6lk7pimgr3jhy5j339";
# populate values otherwise taken care of by goreleaser,
# unfortunately these require us to use git. By doing
# this in postFetch we can delete .git afterwards and
@ -29,9 +29,10 @@ buildGoModule rec {
'';
};
vendorSha256 = "0y8mp08zccn9qxrsj9j7vambz8dwzsxbbgrlppzam53rg8rpxhrg";
vendorSha256 = "1l5ryhwifhff41r4z1d2lifpvjcc4yi1vzrzlvkx3iy9dmxqcssl";
modRoot = "./cmd/chroma";
subPackages = [ "cmd/chroma" ];
meta = with lib; {
homepage = "https://github.com/alecthomas/chroma";