nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5}:
6
7stdenv.mkDerivation {
8 pname = "sit";
9 version = "0-unstable-2026-01-05";
10
11 src = fetchFromGitHub {
12 owner = "thecloudexpanse";
13 repo = "sit";
14 rev = "8e3d6416c2b61db99c74e8f1224431dc33a50a34";
15 hash = "sha256-uaeHntgvuyeRKJR7BmHtXdM+70xfdrd4WPQagXkWV/Q=";
16 };
17
18 installPhase = ''
19 runHook preInstall
20 install -Dm755 sit $out/bin/sit
21 install -Dm755 macbinfilt $out/bin/macbinfilt
22 runHook postInstall
23 '';
24
25 meta = {
26 description = "Create StuffIt archives on Unix systems";
27 homepage = "https://github.com/thecloudexpanse/sit";
28 license = lib.licenses.bsd2;
29 maintainers = with lib.maintainers; [ matthewcroughan ];
30 mainProgram = "sit";
31 platforms = lib.platforms.unix;
32 };
33}