-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hauk: init at 1.6.2 #377050
base: master
Are you sure you want to change the base?
hauk: init at 1.6.2 #377050
Conversation
Recommendations: diff --git a/pkgs/by-name/ha/hauk/package.nix b/pkgs/by-name/ha/hauk/package.nix
index 3d1edeb9bdf9..61a305586a0c 100644
--- a/pkgs/by-name/ha/hauk/package.nix
+++ b/pkgs/by-name/ha/hauk/package.nix
@@ -1,29 +1,37 @@
{
lib,
- stdenv,
+ stdenvNoCC,
fetchFromGitHub,
}:
-stdenv.mkDerivation rec {
+stdenvNoCC.mkDerivation (finalAttrs: {
pname = "hauk";
version = "1.6.2";
src = fetchFromGitHub {
owner = "bilde2910";
repo = "Hauk";
- rev = "v1.6.2";
+ tag = "v${finalAttrs.version}";
hash = "sha256-h5OXAFkaQ1nmeF6AjFQ81JCD8mZCIZAPz0JEK9cwghI=";
};
+ dontConfigure = true;
+ dontBuild = true;
+
installPhase = ''
+ runHook preInstall
+
mkdir -p $out/
cp -R ./backend-php/* $out/
cp -R ./frontend/* $out/
+
+ runHook postInstall
'';
meta = {
- license = lib.licenses.asl20;
- maintainers = with lib.maintainers; [ hlad ];
description = "Hauk is a fully open source, self-hosted location sharing service.";
homepage = "https://github.com/bilde2910/Hauk";
+ license = lib.licenses.asl20;
+ maintainers = with lib.maintainers; [ hlad ];
+ platforms = lib.platforms.unix;
};
-}
+}) |
pkgs/by-name/ha/hauk/package.nix
Outdated
''; | ||
|
||
meta = { | ||
description = "Hauk is a fully open source, self-hosted location sharing service."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description = "Hauk is a fully open source, self-hosted location sharing service."; | |
description = "Hauk is a fully open source, self-hosted location sharing service"; |
See https://nixos.org/manual/nixpkgs/stable/#var-meta-description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixpkgs-review
result
Generated using nixpkgs-review
.
Command: nixpkgs-review pr 377050
x86_64-linux
✅ 1 package built:
- hauk
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/2235 |
https://github.com/bilde2910/Hauk
Solves #335425