mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
73eb537d17
Nc4nix now generates SRI hashes instead of sha256 hashes. It also no longer unpacks the tarballs before hashing. Co-authored-by: Pyrox <pyrox@pyrox.dev>
32 lines
755 B
Nix
32 lines
755 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "nc4nix";
|
|
version = "0-unstable-2024-08-01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "helsinki-systems";
|
|
repo = "nc4nix";
|
|
rev = "827bb7244a3529e71c9474fe1f74aed51a4b08d5";
|
|
hash = "sha256-ToT+VvdXiUMmy0dNJAeyMlzMx87QhZPIwzxPXm2fR7s=";
|
|
};
|
|
|
|
vendorHash = "sha256-qntRsv3KvAbV3lENjAHKkQOqh3uTo3gacfwase489tQ=";
|
|
|
|
passthru.updateScript = unstableGitUpdater { };
|
|
|
|
meta = {
|
|
description = "Packaging helper for Nextcloud apps";
|
|
mainProgram = "nc4nix";
|
|
homepage = "https://github.com/helsinki-systems/nc4nix";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ onny ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|