Compare commits
18
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4d6749411 | ||
|
|
c59dc1252a
|
||
|
|
e1620950b6
|
||
|
|
479ef575d8 | ||
|
|
21037dae06 | ||
|
|
4f5ecae56b | ||
|
|
ff8dcd1587
|
||
|
|
a65b09f6cb
|
||
|
|
887845a8f7
|
||
|
|
1b5df8dea8 | ||
|
|
2fc67cffe3 | ||
|
|
c16695f5f4
|
||
|
|
2f16b8c56a | ||
|
|
ecd0ec0c95
|
||
|
|
91c5fd7944
|
||
|
|
7dad6a62f0
|
||
|
|
c736d31570 | ||
|
|
b7c6087115
|
@@ -67,13 +67,15 @@ jobs:
|
||||
|
||||
system="$(nix eval --impure --raw --expr builtins.currentSystem)"
|
||||
|
||||
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --accept-flake-config --no-link --print-out-paths -L \
|
||||
NIXPKGS_ALLOW_UNFREE=1 nix build --impure --sandbox --no-sandbox-fallback --accept-flake-config --no-link --print-out-paths -L \
|
||||
".#packages.${system}.atuinLatest" \
|
||||
".#packages.${system}.cliampLatest" \
|
||||
".#packages.${system}.musicpresence" \
|
||||
".#packages.${system}.vintage-story" \
|
||||
".#packages.${system}.swaytreesave" \
|
||||
".#packages.${system}.archon" \
|
||||
".#packages.${system}.ani-cli-rs" \
|
||||
".#packages.${system}.opengoal" \
|
||||
| tee built-paths.txt
|
||||
|
||||
- name: Push packages to Attic
|
||||
|
||||
Generated
+134
-17
@@ -9,11 +9,11 @@
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1787797120,
|
||||
"narHash": "sha256-88Di5b78X0LI0BkGehewOIbA9wrnNf6PD1VTz+gv910=",
|
||||
"lastModified": 1788133146,
|
||||
"narHash": "sha256-rjxs1D9duSUWf/lnJV6JZXqdpTEbJ1ntX1hZyYHOuK4=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "707867341ac6f89193da112b42f05534016aa325",
|
||||
"revCount": 21,
|
||||
"rev": "427757654f013e316b3e267dd345c3ab780da7b6",
|
||||
"revCount": 22,
|
||||
"type": "git",
|
||||
"url": "https://scm.wyattjmiller.com/wymiller/caitsith.git"
|
||||
},
|
||||
@@ -42,6 +42,22 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-schemas": {
|
||||
"locked": {
|
||||
"lastModified": 1761577921,
|
||||
@@ -70,6 +86,91 @@
|
||||
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%2A"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"go-overlay",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778507602,
|
||||
"narHash": "sha256-kTwur1wV+01SdqskVMSo6JMEpg71ps3HpbFY2GsflKs=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "61ab0e80d9c7ab14c256b5b453d8b3fb0189ba0a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"go-overlay",
|
||||
"git-hooks",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"go-overlay": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"git-hooks": "git-hooks",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1788301927,
|
||||
"narHash": "sha256-Zmcvt5yW//YLT3HYe3bWN1Sf2txYrnBpa5jLULVokc0=",
|
||||
"owner": "purpleclay",
|
||||
"repo": "go-overlay",
|
||||
"rev": "fe48ae4f56981f9f7c2bf03d4951fb0aa6e2095b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "purpleclay",
|
||||
"repo": "go-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hildibrand": {
|
||||
"inputs": {
|
||||
"flake-schemas": "flake-schemas_2",
|
||||
@@ -79,11 +180,11 @@
|
||||
"rust-overlay": "rust-overlay_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1785717646,
|
||||
"narHash": "sha256-j6MlkwaYOLa3bogK4SbOnVI5eMZ9j2GdExSiKMaELPo=",
|
||||
"lastModified": 1788130254,
|
||||
"narHash": "sha256-LR+73+2a51LOUKVTkEsP/XMVSZXm2P4hlgb7/KxdQ30=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "9588520925513ed0e47711a5798c6e9958143a0a",
|
||||
"revCount": 5,
|
||||
"rev": "f2049db9c29bf3ab0beff7cf0a990735d5571446",
|
||||
"revCount": 6,
|
||||
"type": "git",
|
||||
"url": "https://scm.wyattjmiller.com/wymiller/hildibrand.git"
|
||||
},
|
||||
@@ -99,11 +200,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1787797243,
|
||||
"narHash": "sha256-8+Q7NOB7RPajRjA4pbCDLzqH+MTjnG9x6LUPLfL2joA=",
|
||||
"lastModified": 1788651960,
|
||||
"narHash": "sha256-v9wJd32eZ2bvhBzVOd7TIjLQd011P7nwOhjKtWlci5I=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "99c9ec63390f1d8c14d95d9e8b17cc29cfbd4e11",
|
||||
"rev": "2c0350c759688177331b8f5242311fae8877bdb3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -114,11 +215,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1787962033,
|
||||
"narHash": "sha256-u6z9VTZA4Kf3RkHQo9sQI7NI4Ei/uiU9vrMqOiwWP1Y=",
|
||||
"lastModified": 1788584326,
|
||||
"narHash": "sha256-Fd3OB8J9JhgliQwOKcqx4M672CInxi1I5VnwsaXeSQo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c5c4a43b0e8056328ec4529f735cabdb8f1942bb",
|
||||
"rev": "6713828a351efa628b025a1adf7f43cbf8597513",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -132,6 +233,7 @@
|
||||
"inputs": {
|
||||
"caitsith": "caitsith",
|
||||
"darwin": "darwin",
|
||||
"go-overlay": "go-overlay",
|
||||
"hildibrand": "hildibrand",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs",
|
||||
@@ -187,11 +289,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1788077403,
|
||||
"narHash": "sha256-c20YZQKzQ27qC6Wh729fWRTpI7oV4+7Ur4icKssD4Wc=",
|
||||
"lastModified": 1788678114,
|
||||
"narHash": "sha256-pcqbpV4ZI79al6KAlr+WJjaEo/PYfgctRlG43D5BSJM=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "89e26eeaafa88a2ede4778734acc794ff0299beb",
|
||||
"rev": "4748ec2f5ed4a881474ed4c98aa71a5308cdac8d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -199,6 +301,21 @@
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
||||
@@ -11,6 +11,10 @@
|
||||
url = "github:oxalica/rust-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
go-overlay = {
|
||||
url = "github:purpleclay/go-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hildibrand.url = "git+https://scm.wyattjmiller.com/wymiller/hildibrand.git";
|
||||
hildibrand.inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -18,7 +22,7 @@
|
||||
caitsith.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, darwin, rust-overlay, ... }:
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, darwin, rust-overlay, go-overlay, ... }:
|
||||
let
|
||||
supportedSystems = [
|
||||
"x86_64-linux"
|
||||
@@ -61,6 +65,7 @@
|
||||
|
||||
overlays.default = nixpkgs.lib.composeManyExtensions [
|
||||
rust-overlay.overlays.default
|
||||
go-overlay.overlays.default
|
||||
(import ./overlays)
|
||||
];
|
||||
homeManagerModules = import ./modules/home-manager self;
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
final: prev: {
|
||||
cliampLatest = prev.cliamp.overrideAttrs (oldAttrs: rec {
|
||||
version = "2.0.1";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "bjarneo";
|
||||
repo = "cliamp";
|
||||
tag = "v${version}";
|
||||
sha256 = "sha256-r7MrrcVt+/f+iPozn9jaczJmpPv431wAoW8LvHKBtB8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-rtwUWbft5XGEbuBCn0OMCn4TS5Ul+UXJNIqNOzXfU+M=";
|
||||
|
||||
buildInputs = with prev; [
|
||||
libogg
|
||||
libvorbis
|
||||
flac
|
||||
mpg123
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isLinux [
|
||||
alsa-lib
|
||||
];
|
||||
});
|
||||
}
|
||||
@@ -2,4 +2,9 @@ final: prev:
|
||||
prev.lib.composeManyExtensions [
|
||||
(import ./atuin.nix)
|
||||
(import ./container.nix)
|
||||
(import ./cliamp.nix)
|
||||
(import ./diffnav.nix)
|
||||
(import ./gh-dash.nix)
|
||||
(import ./lazygit.nix)
|
||||
(import ./k9s.nix)
|
||||
] final prev
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
final: prev: let
|
||||
golang_latest = prev.go-bin.latestStable;
|
||||
buildGoModuleLatest = prev.buildGoModule.override {
|
||||
go = golang_latest;
|
||||
};
|
||||
in {
|
||||
diffNavLatest = (prev.diffnav.override {
|
||||
buildGoModule = buildGoModuleLatest;
|
||||
}).overrideAttrs (_: rec {
|
||||
version = "0.12.0";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "dlvhdr";
|
||||
repo = "diffnav";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DrEbo9YYg4FCXQXuIkbPxO5Z3ZOPZJYeGoLoP/vT0Y0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-2OzHyBPsylQVXhPlqk2owEhiibFi3H1UENvGGDdzGss";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
];
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
final: prev: let
|
||||
golang_latest = prev.go-bin.latestStable;
|
||||
buildGoModuleLatest = prev.buildGoModule.override {
|
||||
go = golang_latest;
|
||||
};
|
||||
in {
|
||||
ghDashLatest = (prev.gh-dash.override {
|
||||
buildGoModule = buildGoModuleLatest;
|
||||
}).overrideAttrs (oldAttrs: rec {
|
||||
version = "4.25.2";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "dlvhdr";
|
||||
repo = "gh-dash";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FUb4zrGT0L7S1O5EcOCop4n0zlx1ODsANzBcEl9bvOU=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-3iUBuMvA2Xh7UjTiFNEs3tuZMCnSt/bIhTSEDD92yCU=";
|
||||
doCheck = false;
|
||||
checkFlags = [
|
||||
"-skip=TestFullOutput"
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/dlvhdr/gh-dash/v4/cmd.Version=${version}"
|
||||
];
|
||||
|
||||
passthru = (oldAttrs.passthru or {}) // {
|
||||
tests = {
|
||||
version = oldAttrs.testers.testVersion { package = final.ghDashLatest; };
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
final: prev: {
|
||||
k9sLatest = prev.k9s.overrideAttrs (oldAttrs: rec {
|
||||
version = "0.51.0";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "derailed";
|
||||
repo = "k9s";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-70Rfu1BVd/QnwWXRRpwIeZ2UJNWIGixpdiOHo4v7adA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-PkYDJK2oGl+siCG9p4R8shC0e5BhGFdJsc+ksL9J5zw=";
|
||||
|
||||
ldflags = [
|
||||
"-X github.com/derailed/k9s/version.Version=${version}"
|
||||
"-X github.com/derailed/k9s/version.BuildSource=nix"
|
||||
];
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
final: prev: {
|
||||
lazygitLatest = prev.lazygit.overrideAttrs (_: rec {
|
||||
version = "0.65.0";
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "jesseduffield";
|
||||
repo = "lazygit";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-W/Z/BnA5L8tXYrKn3bnekNnx7bEaaJRoHSGAeygcK0E=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
subPackages = [ "." ];
|
||||
ldflags = [
|
||||
"-X main.version=${version}"
|
||||
"-X main.buildSource=nix"
|
||||
];
|
||||
});
|
||||
}
|
||||
+8
-2
@@ -1,23 +1,29 @@
|
||||
{
|
||||
pkgs,
|
||||
hildibrand ? null,
|
||||
caitsith ? null
|
||||
caitsith ? null,
|
||||
}:
|
||||
{
|
||||
# any overlays we define here
|
||||
atuinLatest = pkgs.atuinLatest;
|
||||
containerLatest = pkgs.containerLatest;
|
||||
cliampLatest = pkgs.cliampLatest;
|
||||
lazygitLatest = pkgs.lazygitLatest;
|
||||
ghDashLatest = pkgs.ghDashLatest;
|
||||
diffNavLatest = pkgs.diffNavLatest;
|
||||
k9sLatest = pkgs.k9sLatest;
|
||||
|
||||
# any packages that are added to pkgs and are inputs, we inherit them here
|
||||
inherit hildibrand;
|
||||
inherit caitsith;
|
||||
|
||||
# any packages that build instructions are in this repo, they go here
|
||||
# sable-web = pkgs.callPackage ./common/sable.nix {};
|
||||
sable-web = pkgs.callPackage ./common/sable.nix { };
|
||||
swaytreesave = pkgs.callPackage ./linux/swaytreesave.nix { };
|
||||
musicpresence = pkgs.callPackage ./linux/musicpresence.nix { };
|
||||
vintage-story = pkgs.callPackage ./linux/vintage-story.nix { };
|
||||
archon = pkgs.callPackage ./linux/archon.nix { };
|
||||
yubilock = pkgs.callPackage ./linux/yubilock/default.nix { };
|
||||
ani-cli-rs = pkgs.callPackage ./linux/ani-cli-rs.nix { };
|
||||
opengoal = pkgs.callPackage ./linux/opengoal.nix { };
|
||||
}
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
pname = "OpenGOAL-Launcher";
|
||||
version = "2.10.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/open-goal/launcher/releases/download/v${version}/${pname}_${version}_amd64.AppImage";
|
||||
hash = "sha256-eikzjdOYNdJM9FM3O/HuCFDzf97Fm1nhbRedDyKZ1/s=";
|
||||
};
|
||||
in
|
||||
pkgs.stdenvNoCC.mkDerivation {
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
|
||||
dontUnpack = true;
|
||||
dontPatchELF = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
cp "$src" "${pname}.AppImage"
|
||||
chmod +x "${pname}.AppImage"
|
||||
./"${pname}.AppImage" --appimage-extract
|
||||
|
||||
mkdir -p "$out/opt"
|
||||
cp -a AppDir "$out/opt/opengoal-launcher"
|
||||
rm -f "$out/opt/opengoal-launcher/share/icons/hicolor/scalable/apps/byobu.svg"
|
||||
|
||||
makeWrapper "$out/opt/opengoal-launcher/AppRun" "$out/bin/${pname}"
|
||||
install -Dm444 "AppDir/${pname}.desktop" \
|
||||
"$out/share/applications/${pname}.desktop"
|
||||
install -Dm444 "AppDir/${pname}.png" \
|
||||
"$out/share/icons/hicolor/256x256/apps/${pname}.png"
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = pkgs.nix-update-script { };
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
description = "Launcher for the OpenGOAL project";
|
||||
homepage = "https://github.com/open-goal/launcher";
|
||||
license = licenses.mit;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = pname;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user