mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
ff323ed355
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
25 lines
512 B
Nix
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 ];
|
|
};
|
|
}
|