2019-09-17 16:45:57 +03:00
|
|
|
{ stdenv, lib, fetchFromGitHub, plan9port, darwin, ... }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "osxsnarf";
|
|
|
|
version = "0.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eraserhd";
|
|
|
|
repo = "osxsnarf";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1vpg39mpc5avnv1j0yfx0x2ncvv38slmm83zv6nmm7alfwfjr2ss";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ plan9port darwin.apple_sdk.frameworks.Carbon ];
|
|
|
|
makeFlags = [ "prefix=${placeholder "out"}" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 08:55:05 +03:00
|
|
|
description = "A Plan 9-inspired way to share your OS X clipboard";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/eraserhd/osxsnarf";
|
2019-09-17 16:45:57 +03:00
|
|
|
license = licenses.unlicense;
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
maintainers = [ maintainers.eraserhd ];
|
|
|
|
};
|
|
|
|
}
|