From 4f2747cccfceb558dc0dedca97f2fe5155db636d Mon Sep 17 00:00:00 2001 From: YvesStraten Date: Wed, 27 Dec 2023 13:34:55 +0800 Subject: [PATCH 1/2] maintainers: add YvesStraten --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index b0c4e245e52c..a4734d1aec14 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -20442,6 +20442,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"; From 4b094f5153758057a3b9e152ec0dd24517d0dfdc Mon Sep 17 00:00:00 2001 From: YvesStraten Date: Wed, 27 Dec 2023 14:00:15 +0800 Subject: [PATCH 2/2] skimpdf: init at 1.7.2 --- pkgs/by-name/sk/skimpdf/package.nix | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/sk/skimpdf/package.nix diff --git a/pkgs/by-name/sk/skimpdf/package.nix b/pkgs/by-name/sk/skimpdf/package.nix new file mode 100644 index 000000000000..0be793c9cb15 --- /dev/null +++ b/pkgs/by-name/sk/skimpdf/package.nix @@ -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; + }; +}