Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
259bcff01c | ||
|
|
f3a26325e4
|
||
|
|
ea7094e4e3 | ||
|
|
d26bb0a0de | ||
|
|
17f4274d0a | ||
|
|
e3296b9c9f | ||
|
|
71f2f4f199 | ||
|
|
3c8c08ad5f | ||
|
|
60dcecb7aa | ||
|
|
0ffb8f5493
|
||
|
|
3207f9abec
|
||
|
|
9c207d6ba8
|
||
|
|
2397ab4151
|
@@ -63,11 +63,11 @@ 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 \
|
||||
".#packages.${system}.atuinLatest" \
|
||||
".#packages.${system}.musicpresence" \
|
||||
".#packages.${system}.vintage-story" \
|
||||
".#packages.${system}.swaytreesave" \
|
||||
".#packages.${system}.archon" \
|
||||
".#packages.${system}.ani-cli-rs" \
|
||||
| tee built-paths.txt
|
||||
|
||||
- name: Push packages to Attic
|
||||
|
||||
Generated
+56
-7
@@ -20,6 +20,20 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-schemas": {
|
||||
"locked": {
|
||||
"lastModified": 1780327564,
|
||||
"narHash": "sha256-HiRPtA0spK+Dkgbhz/1zW9glXxNVB+L4Rj2VYmdawb8=",
|
||||
"rev": "6cc9bd98891b1fc6bb2b8cb3277df8bc72799ca6",
|
||||
"revCount": 149,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.5.0/019e83cf-9af3-78b1-ac5b-70e68ad1efe1/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%2A"
|
||||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems"
|
||||
@@ -38,9 +52,29 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hildibrand": {
|
||||
"inputs": {
|
||||
"flake-schemas": "flake-schemas",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1785717646,
|
||||
"narHash": "sha256-j6MlkwaYOLa3bogK4SbOnVI5eMZ9j2GdExSiKMaELPo=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "9588520925513ed0e47711a5798c6e9958143a0a",
|
||||
"revCount": 5,
|
||||
"type": "git",
|
||||
"url": "https://scm.wyattjmiller.com/wymiller/hildibrand.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://scm.wyattjmiller.com/wymiller/hildibrand.git"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779507042,
|
||||
@@ -57,6 +91,20 @@
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1784280462,
|
||||
"narHash": "sha256-DtoqIqM7VkR6NxAkcLpMwmi02USwWb3JdmNGLyhthc0=",
|
||||
"rev": "293d6abedf0478e681a4dfcfcb35b30fc796a32f",
|
||||
"revCount": 1009740,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2605.1009740%2Brev-293d6abedf0478e681a4dfcfcb35b30fc796a32f/019f73de-20f7-7ec2-98c8-65726640dbf9/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/NixOS/nixpkgs/%2A"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1778443072,
|
||||
"narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=",
|
||||
@@ -72,7 +120,7 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1780902259,
|
||||
"narHash": "sha256-q8yYEC5f1mFlQO9RGna4LTc9QrcvWunX6FYp83munkQ=",
|
||||
@@ -92,23 +140,24 @@
|
||||
"inputs": {
|
||||
"darwin": "darwin",
|
||||
"flake-utils": "flake-utils",
|
||||
"hildibrand": "hildibrand",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"rust-overlay": "rust-overlay"
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"hildibrand",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1786247265,
|
||||
"narHash": "sha256-cVTcTqAhzSNMOVddtBhFpuv+Vx6/SgrhgZWJiI61H24=",
|
||||
"lastModified": 1784438913,
|
||||
"narHash": "sha256-NYF7ZM5ip0u+w1pBFDpIGEbrbgN/wpnLFAmBkWkYMXw=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "6df7076ea0f5697e3242719a4c71211f00411cf5",
|
||||
"rev": "afacd6819d3765a05814ee8e3de74c77d42ac799",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -7,22 +7,11 @@
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
darwin.url = "github:LnL7/nix-darwin";
|
||||
darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||
rust-overlay = {
|
||||
url = "github:oxalica/rust-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
hildibrand.url = "git+https://scm.wyattjmiller.com/wymiller/hildibrand.git";
|
||||
caitsith.url = "git+https://scm.wyattjmiller.com/wymiller/caitsith.git";
|
||||
};
|
||||
|
||||
outputs =
|
||||
inputs@{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
home-manager,
|
||||
darwin,
|
||||
rust-overlay,
|
||||
...
|
||||
}:
|
||||
outputs = inputs@{ self, nixpkgs, flake-utils, home-manager, darwin, ... }:
|
||||
let
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
@@ -32,22 +21,24 @@
|
||||
forAllSystems = f: nixpkgs.lib.genAttrs systems f;
|
||||
in
|
||||
{
|
||||
packages = forAllSystems (
|
||||
system:
|
||||
packages = forAllSystems (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ self.overlays.default ];
|
||||
};
|
||||
in
|
||||
import ./pkgs { inherit pkgs; }
|
||||
import ./pkgs {
|
||||
inherit pkgs;
|
||||
|
||||
# packages that are already built with Nix go here
|
||||
hildibrand = inputs.hildibrand.packages.${system}.default;
|
||||
caitsith = inputs.caitsith.packages.${system}.default;
|
||||
}
|
||||
);
|
||||
|
||||
devShells = forAllSystems (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
devShells = forAllSystems (system:
|
||||
let pkgs = import nixpkgs { inherit system; }; in
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
@@ -57,10 +48,7 @@
|
||||
}
|
||||
);
|
||||
|
||||
overlays.default = nixpkgs.lib.composeManyExtensions [
|
||||
rust-overlay.overlays.default
|
||||
(import ./overlays)
|
||||
];
|
||||
overlays.default = import ./overlays;
|
||||
homeManagerModules = import ./modules/home-manager self;
|
||||
nixosModules.default = import ./modules/nixos;
|
||||
darwinModules.default = import ./modules/darwin;
|
||||
|
||||
+1
-43
@@ -1,43 +1 @@
|
||||
final: prev:
|
||||
let
|
||||
rustLatest = prev.rust-bin.stable.latest.default;
|
||||
rustPlatform = prev.makeRustPlatform {
|
||||
cargo = rustLatest;
|
||||
rustc = rustLatest;
|
||||
};
|
||||
in
|
||||
{
|
||||
atuinLatest = (prev.atuin.override { inherit rustPlatform; }).overrideAttrs (oldAttrs: rec {
|
||||
version = "18.19.0";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "atuinsh";
|
||||
repo = "atuin";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-yAw+ty6FUnFbiRTdAe2QQHzj6uU24fZ/bEIXcHl/thg=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit src;
|
||||
hash = "sha256-jirVe0+N5+UHZWioj8AipUhawMBameqEJJpa8HPTnfw=";
|
||||
};
|
||||
|
||||
cargoBuildFeatures = [
|
||||
"ai"
|
||||
"client"
|
||||
"clipboard"
|
||||
"daemon"
|
||||
"hex"
|
||||
"sync"
|
||||
];
|
||||
cargoCheckFeatures = cargoBuildFeatures;
|
||||
|
||||
preCheck = (oldAttrs.preCheck or "") + ''
|
||||
export HOME="$TMPDIR"
|
||||
export XDG_CONFIG_HOME="$TMPDIR/.config"
|
||||
export XDG_DATA_HOME="$TMPDIR/.local/share"
|
||||
export XDG_STATE_HOME="$TMPDIR/.local/state"
|
||||
mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_STATE_HOME"
|
||||
'';
|
||||
});
|
||||
}
|
||||
final: prev: { }
|
||||
|
||||
+11
-2
@@ -1,10 +1,19 @@
|
||||
{ pkgs }:
|
||||
{
|
||||
atuinLatest = pkgs.atuinLatest;
|
||||
pkgs,
|
||||
hildibrand ? null,
|
||||
caitsith ? null
|
||||
}:
|
||||
{
|
||||
# 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 {};
|
||||
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 { };
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
pname = "ani-cli-rs";
|
||||
version = "0.9.3";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "vorlie";
|
||||
repo = "ani-cli-rs";
|
||||
rev = "${version}";
|
||||
sha256 = "sha256-4JjCe9dCggLtETmH8yWYyn1tkHimPYtTp0BLQML3NKY=";
|
||||
};
|
||||
in pkgs.rustPlatform.buildRustPackage {
|
||||
inherit pname version src;
|
||||
cargoLock = { lockFile = "${src}/Cargo.lock"; };
|
||||
|
||||
# tests make this package fail to build, this line skips them
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A cross-platform Rust port of ani-cli with two independent Anikoto catalogs and native MegaPlay/KotoCDN playback";
|
||||
mainProgram = "ani-cli-rs";
|
||||
homepage = "https://github.com/vorlie/ani-cli-rs";
|
||||
maintainers = [ "wymillerlinux" ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
changelog = "https://github.com/vorlie/ani-cli-rs/releases/tag/${version}";
|
||||
};
|
||||
}
|
||||
@@ -1,11 +1,11 @@
|
||||
{ pkgs }:
|
||||
let
|
||||
pname = "archon";
|
||||
version = "9.3.119";
|
||||
version = "9.5.8";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/RPGLogs/Uploaders-archon/releases/download/v${version}/${pname}-v${version}.AppImage";
|
||||
hash = "sha256-mUsmaIxm3DZ1vvcwxpmDTWTj+UlFSv+jYkBrteL8xQk=";
|
||||
hash = "sha256-tEMfDK0BCBvNWFlA78FKWcOvU1wzIorBM4ZmLQ+6hzU=";
|
||||
};
|
||||
|
||||
appimageContents = pkgs.appimageTools.extract {
|
||||
@@ -17,8 +17,11 @@ pkgs.appimageTools.wrapType2 {
|
||||
|
||||
nativeBuildInputs = with pkgs; [ makeWrapper ];
|
||||
extraInstallCommands = ''
|
||||
install -Dm444 "${appimageContents}/Archon App.desktop" "$out/share/applications/archon.desktop"
|
||||
install -Dm444 "${appimageContents}/Archon App.png" "$out/share/icons/hicolor/256x256/apps/archon.png"
|
||||
install -Dm444 "${appimageContents}/archon.desktop" "$out/share/applications/archon.desktop"
|
||||
install -Dm444 "${appimageContents}/archon.png" "$out/share/icons/hicolor/512x512/apps/archon.png"
|
||||
|
||||
substituteInPlace "$out/share/applications/archon.desktop" \
|
||||
--replace-fail "Exec=AppRun --no-sandbox %U" "Exec=archon --no-sandbox %U"
|
||||
'';
|
||||
|
||||
meta = with pkgs.lib; {
|
||||
|
||||
@@ -27,11 +27,11 @@ assert waylandSupport -> libxkbcommon != null;
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "vintagestory";
|
||||
version = "1.22.3";
|
||||
version = "1.22.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cdn.vintagestory.at/gamefiles/stable/vs_client_linux-x64_${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-sa4Pj1DwT6W6LJCAYznmbyqPtMUTaLSNTkXS1imQp04=";
|
||||
hash = "sha256-xJPyaYklEq2BeUX9+7hNPI6WC6ibcQDS+sKeqKYSh3A=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
Reference in New Issue
Block a user