mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
paperlib: refactor
This commit is contained in:
parent
fd527aacc0
commit
8fdfc49bfc
1 changed files with 5 additions and 3 deletions
|
@ -20,14 +20,14 @@ let
|
|||
hash = "sha256-2xbn9UWlcf37n9jZdZKyyevzsag6SW9YuQH/bYCRmLQ=";
|
||||
};
|
||||
}
|
||||
.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");
|
||||
.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
|
||||
passthru = {
|
||||
inherit pname version src;
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/Future-Scholars/paperlib?";
|
||||
homepage = "https://github.com/Future-Scholars/paperlib";
|
||||
description = "Open-source academic paper management tool";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ ByteSudoer ];
|
||||
|
@ -55,8 +55,10 @@ if stdenv.hostPlatform.isDarwin then
|
|||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p "$out/Applications"
|
||||
|
||||
mkdir -p $out/Applications
|
||||
mv Paperlib.app $out/Applications/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue