2024-05-11 21:48:47 +02:00
|
|
|
{ lib, fetchFromGitHub, darwin, ... }:
|
|
|
|
|
|
|
|
darwin.apple_sdk.stdenv.mkDerivation rec {
|
|
|
|
pname = "JankyBorders";
|
|
|
|
version = "dev";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FelixKratz";
|
2024-06-03 18:06:22 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = "e2af0248fa40ead3f17f1d16c6288b8ddfd9f505";
|
|
|
|
hash = "sha256-rYA6b6d3c4pJVUIV77z/JMcgKbZ+4qZdxkI21LwZcG4=";
|
2024-05-11 21:48:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = with darwin.apple_sdk.frameworks; [
|
|
|
|
AppKit
|
|
|
|
SkyLight
|
|
|
|
];
|
2024-06-03 18:06:22 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp ./bin/borders $out/bin/
|
|
|
|
'';
|
2024-05-11 21:48:47 +02:00
|
|
|
}
|