nc4nix: unstable-2022-11-30 -> unstable-2022-12-07
This commit is contained in:
parent
94fa2d6c13
commit
234c988374
@ -1,22 +1,37 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitLab
|
||||
, fetchFromGitHub
|
||||
, nix
|
||||
, makeWrapper
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nc4nix";
|
||||
version = "unstable-2022-11-13";
|
||||
version = "unstable-2022-12-07";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "git.project-insanity.org";
|
||||
owner = "onny";
|
||||
src = fetchFromGitHub {
|
||||
owner = "helsinki-systems";
|
||||
repo = "nc4nix";
|
||||
rev = "857e789287692e42f3fcaae039d6f323b383543b";
|
||||
sha256 = "sha256-ekuvqTyoaYiNju4yiQLPmxaXaGD4T3Wv9A8CHY1MZOI=";
|
||||
rev = "c556a596b1d40ff69b71adab257ec5ae51ba4df1";
|
||||
sha256 = "sha256-EIPCMiVTf0ryXRMRGhepORaOlimt3/funvUdORRbVa8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Switch hash calculation method
|
||||
(fetchpatch {
|
||||
url = "https://github.com/helsinki-systems/nc4nix/commit/88c182fbdddef148e086fa86438dcd72208efd75.patch";
|
||||
sha256 = "sha256-zAF0+t9wHrKhhyD0+/d58BiaavLHfxO8X5J6vNlEWx0=";
|
||||
name = "switch_hash_calculation_method.patch";
|
||||
})
|
||||
# Add package selection command line argument
|
||||
(fetchpatch {
|
||||
url = "https://github.com/helsinki-systems/nc4nix/pull/2/commits/449eec89538df4e92106d06046831202eb84a1db.patch";
|
||||
sha256 = "sha256-qAAbR1G748+2vwwfAhpe8luVEIKNGifqXqTV9QqaUFc=";
|
||||
name = "add_package_selection_command_line_arg.patch";
|
||||
})
|
||||
];
|
||||
|
||||
vendorSha256 = "sha256-uhINWxFny/OY7M2vV3ehFzP90J6Z8cn5IZHWOuEg91M=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -31,8 +46,8 @@ buildGoModule rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Packaging helper for Nextcloud apps";
|
||||
homepage = "https://git.project-insanity.org/onny/nc4nix";
|
||||
license = licenses.unfree;
|
||||
homepage = "https://github.com/helsinki-systems/nc4nix";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user