Merge pull request #277052 from YvesStraten/init-skimpdf
skimpdf: init at 1.7.2
This commit is contained in:
commit
64742a250e
2 changed files with 42 additions and 0 deletions
|
@ -22305,6 +22305,12 @@
|
|||
githubId = 179548;
|
||||
name = "Yves Fischer";
|
||||
};
|
||||
YvesStraten = {
|
||||
email = "yves.straten@gmail.com";
|
||||
github = "YvesStraten";
|
||||
githubId = 65394961;
|
||||
name = "Yves Straten";
|
||||
};
|
||||
yvt = {
|
||||
email = "i@yvt.jp";
|
||||
github = "yvt";
|
||||
|
|
36
pkgs/by-name/sk/skimpdf/package.nix
Normal file
36
pkgs/by-name/sk/skimpdf/package.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, undmg
|
||||
, fetchurl
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "Skim";
|
||||
version = "1.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
name = "Skim-${version}.dmg";
|
||||
url = "mirror://sourceforge/project/skim-app/Skim/Skim-${version}/Skim-${version}.dmg";
|
||||
sha256 = "t/A3Bd7mQ8hFGdbpQou4ru9i5jX4HaYOXgMvfPAUEYc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/Applications
|
||||
cp -R Skim.app $out/Applications
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Skim is a PDF reader and note-taker for OS X";
|
||||
homepage = "https://skim-app.sourceforge.io/";
|
||||
license = licenses.bsd0;
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = "Skim.app";
|
||||
maintainers = with maintainers; [ YvesStraten ];
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue