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
38 lines
868 B
Nix
38 lines
868 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
undmg,
|
|
fetchurl,
|
|
}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "Skim";
|
|
version = "1.7.9";
|
|
|
|
src = fetchurl {
|
|
name = "Skim-${version}.dmg";
|
|
url = "mirror://sourceforge/project/skim-app/Skim/Skim-${version}/Skim-${version}.dmg";
|
|
hash = "sha256-0IfdLeH6RPxf4OZWnNltN7tvvZWbWDQaMCmazd4UUi4=";
|
|
};
|
|
|
|
nativeBuildInputs = [ undmg ];
|
|
|
|
sourceRoot = ".";
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/Applications
|
|
cp -R Skim.app $out/Applications
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "PDF reader and note-taker for macOS";
|
|
homepage = "https://skim-app.sourceforge.io/";
|
|
license = licenses.bsd0;
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
mainProgram = "Skim.app";
|
|
maintainers = with maintainers; [ YvesStraten ];
|
|
platforms = platforms.darwin;
|
|
};
|
|
}
|