Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
84 lines
1.8 KiB
Nix
84 lines
1.8 KiB
Nix
{
|
|
stdenv,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
lib,
|
|
symlinkJoin,
|
|
}:
|
|
|
|
let
|
|
p2 = buildGoModule rec {
|
|
pname = "packr2";
|
|
version = "2.8.0";
|
|
|
|
src =
|
|
fetchFromGitHub {
|
|
owner = "gobuffalo";
|
|
repo = "packr";
|
|
rev = "v${version}";
|
|
hash = "sha256-UfnL3Lnq3ocXrTqKtmyar6BoKUUHHKMOFCiD5wX26PQ=";
|
|
}
|
|
+ "/v2";
|
|
|
|
subPackages = [ "packr2" ];
|
|
|
|
vendorHash = "sha256-N3u+DmEe0r72zFPb8El/MwjyIcTehQRE+MgusIII2Is=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Simple and easy way to embed static files into Go binaries";
|
|
homepage = "https://github.com/gobuffalo/packr";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mmahut ];
|
|
|
|
# golang.org/x/sys needs to be updated due to:
|
|
#
|
|
# https://github.com/golang/go/issues/49219
|
|
#
|
|
# but this package is no longer maintained.
|
|
#
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
};
|
|
p1 = buildGoModule rec {
|
|
pname = "packr1";
|
|
version = "2.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "gobuffalo";
|
|
repo = "packr";
|
|
rev = "v${version}";
|
|
hash = "sha256-UfnL3Lnq3ocXrTqKtmyar6BoKUUHHKMOFCiD5wX26PQ=";
|
|
};
|
|
|
|
subPackages = [ "packr" ];
|
|
|
|
vendorHash = "sha256-6mlV3q7irI0aoeB91OYSD3RvmwYcNXRNkSYowjmSflQ=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Simple and easy way to embed static files into Go binaries";
|
|
homepage = "https://github.com/gobuffalo/packr";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ mmahut ];
|
|
|
|
# golang.org/x/sys needs to be updated due to:
|
|
#
|
|
# https://github.com/golang/go/issues/49219
|
|
#
|
|
# but this package is no longer maintained.
|
|
#
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
};
|
|
in
|
|
symlinkJoin {
|
|
name = "packr";
|
|
paths = [
|
|
p1
|
|
p2
|
|
];
|
|
}
|