nixpkgs/pkgs/servers/hiraeth/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

25 lines
512 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "hiraeth";
version = "1.0.1";
src = fetchFromGitHub {
owner = "lukaswrz";
repo = "hiraeth";
rev = "v${version}";
hash = "sha256-IjHQAJH6Kv65iDkVtJaVeAiMXCEyTTpUTTbW7I2Gxrc=";
};
vendorHash = "sha256-tyFAd5S1RUn1AA5DbUGsAuvwtLgOgTE6LUzW3clQE9I=";
meta = {
description = "Share files with an expiration date";
license = lib.licenses.agpl3Plus;
maintainers = [ lib.maintainers.lukaswrz ];
};
}