mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
nc4nix: unstable-2022-11-12 -> unstable-2022-11-13
This commit is contained in:
parent
aec2518c5b
commit
88e0973f46
@ -1,22 +1,34 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, nix
|
||||||
|
, makeWrapper
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "nc4nix";
|
pname = "nc4nix";
|
||||||
version = "unstable-2022-11-12";
|
version = "unstable-2022-11-13";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "git.project-insanity.org";
|
domain = "git.project-insanity.org";
|
||||||
owner = "onny";
|
owner = "onny";
|
||||||
repo = "nc4nix";
|
repo = "nc4nix";
|
||||||
rev = "d7f55a42b5ca0d02382349c6ec776eefe6079703";
|
rev = "857e789287692e42f3fcaae039d6f323b383543b";
|
||||||
sha256 = "sha256-MfMW2B+udXV/lQPGUBFuAE7jwmy4D1M+CYkCuJ088aM=";
|
sha256 = "sha256-ekuvqTyoaYiNju4yiQLPmxaXaGD4T3Wv9A8CHY1MZOI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-uhINWxFny/OY7M2vV3ehFzP90J6Z8cn5IZHWOuEg91M=";
|
vendorSha256 = "sha256-uhINWxFny/OY7M2vV3ehFzP90J6Z8cn5IZHWOuEg91M=";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# Depends on nix-prefetch-url
|
||||||
|
wrapProgram $out/bin/nc4nix \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ nix ]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Packaging helper for Nextcloud apps";
|
description = "Packaging helper for Nextcloud apps";
|
||||||
homepage = "https://git.project-insanity.org/onny/nc4nix";
|
homepage = "https://git.project-insanity.org/onny/nc4nix";
|
||||||
|
Loading…
Reference in New Issue
Block a user