mysides: new package for darwin (#155053)

main
Thomas Boerger 2 years ago committed by GitHub
parent 330f3b60d0
commit b00ecd5e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      maintainers/maintainer-list.nix
  2. 36
      pkgs/os-specific/darwin/mysides/default.nix
  3. 2
      pkgs/top-level/all-packages.nix

@ -11811,6 +11811,13 @@
githubId = 863327;
name = "Tyler Benster";
};
tboerger = {
email = "thomas@webhippie.de";
matrix = "@tboerger:matrix.org";
github = "tboerger";
githubId = 156964;
name = "Thomas Boerger";
};
tcbravo = {
email = "tomas.bravo@protonmail.ch";
github = "tcbravo";

@ -0,0 +1,36 @@
{ lib, stdenv, fetchurl, libarchive, p7zip }:
stdenv.mkDerivation rec {
pname = "mysides";
version = "1.0.1";
src = fetchurl {
url = "https://github.com/mosen/mysides/releases/download/v${version}/mysides-${version}.pkg";
sha256 = "sha256-dpRrj3xb9xQSXXXxragUDgNPBaniiMc6evRF12wqVRQ=";
};
dontBuild = true;
nativeBuildInputs = [ libarchive p7zip ];
unpackPhase = ''
7z x $src
bsdtar -xf Payload~
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
install -Dm755 usr/local/bin/mysides -t $out/bin
runHook postInstall
'';
meta = with lib; {
description = "Manage macOS Finder sidebar favorites";
homepage = "https://github.com/mosen/mysides";
license = licenses.mit;
maintainers = with maintainers; [ tboerger ];
platforms = platforms.darwin;
};
}

@ -33344,6 +33344,8 @@ with pkgs;
mynewt-newt = callPackage ../tools/package-management/mynewt-newt { };
mysides = callPackage ../os-specific/darwin/mysides { };
nar-serve = callPackage ../tools/nix/nar-serve { };
neo = callPackage ../applications/misc/neo { };

Loading…
Cancel
Save