diff --git a/hashes.nix b/hashes.nix index 5438173..b81e6ca 100644 --- a/hashes.nix +++ b/hashes.nix @@ -4,11 +4,6 @@ hash = "sha256-zQdnDZwFd7KkSoLyu3Ty/YDn7qosTIf2n02PHitGf2g="; "rustyline-1.0.0" = "sha256-FFuhLmBwt5e/zOJfkz4NCuI8lG/sBhGOcxst8d+oOVk="; }; - boilr = { - version = "1.9.1"; - hash = "sha256-mdkRuEzfWhdbX0DD6uwc1o8kXjqk1Y0+FFKHrM2m81w="; - cargoHash = "sha256-5nhtGqukZ8tp7gPV+JiUEHTzWUj6JtsB2i7bODcXJSc="; - }; youtubePlugin = { hash = "sha256-gJ7RGB0pSG/iLdpmXHpQOoQTisXnMl1Mgd0KYFgg2qI="; version = "7.0.3.2"; diff --git a/modules/base-system.nix b/modules/base-system.nix index 23a5bb1..2ce82ea 100644 --- a/modules/base-system.nix +++ b/modules/base-system.nix @@ -43,7 +43,6 @@ in { nixpkgs.overlays = [ (_: super: { "2i-emulator" = super.callPackage ../pkgs/2i-emulator.nix {}; - boilr = super.callPackage ../pkgs/boilr.nix {}; darkman = super.callPackage ../pkgs/darkman.nix {}; hack-nerdfont = super.nerdfonts.override {fonts = ["Hack"];}; }) diff --git a/pkgs/boilr.nix b/pkgs/boilr.nix deleted file mode 100644 index 2e3ff5b..0000000 --- a/pkgs/boilr.nix +++ /dev/null @@ -1,70 +0,0 @@ -{ - lib, - fetchFromGitHub, - rustPlatform, - clangStdenv, - gtk3, - xorg, - perl, - openssl, - speechd, - libxkbcommon, - libGL, - wayland, - ... -}: let - hashes = (builtins.import ../hashes.nix).boilr; - - rpathLibs = [ - speechd - openssl - gtk3 - libxkbcommon - libGL - - # WINIT_UNIX_BACKEND=wayland - wayland - - # WINIT_UNIX_BACKEND=x11 - xorg.libXcursor - xorg.libXrandr - xorg.libXi - xorg.libX11 - xorg.libxcb - ]; -in - rustPlatform.buildRustPackage.override {stdenv = clangStdenv;} { - pname = "BoilR"; - inherit (hashes) version; - - src = fetchFromGitHub { - owner = "PhilipK"; - repo = "BoilR"; - rev = "v.${hashes.version}"; - inherit (hashes) hash; - }; - - warning = builtins.trace "Is boilr part of nixpkgs? https://github.com/NixOS/nixpkgs/pull/247991" ""; - - inherit (hashes) cargoHash; - - nativeBuildInputs = [perl]; - - buildInputs = rpathLibs; - - postInstall = '' - mkdir -p $out/share/applications - cp flatpak/io.github.philipk.boilr.desktop $out/share/applications/ - patchelf --add-rpath "${lib.makeLibraryPath rpathLibs}" $out/bin/boilr - ''; - - dontPatchELF = true; - - meta = { - description = "BoilR automatically adds (almost) all your games to your Steam library (including image art)"; - homepage = "https://github.com/PhilipK/BoilR"; - license = with lib.licenses; [asl20 mit]; - platforms = lib.platforms.linux; - maintainers = with lib.maintainers; [foolnotion]; - }; - }