dotfiles/pkgs/default.nix

101 lines
3.6 KiB
Nix
Raw Normal View History

2021-05-30 11:47:17 +02:00
(self: super: {
2017-08-15 17:55:19 +02:00
2021-05-30 11:47:17 +02:00
yori-cc = super.callPackage ./yori-cc.nix { };
ftb = super.callPackage ./ftb.nix {};
2017-08-15 17:55:19 +02:00
2021-05-30 11:47:17 +02:00
yscripts = super.callPackage ../bin {};
factorio = super.factorio.override {
releaseType = "alpha";
username = "yorickvp";
token = (import ../nixos/secrets.nix).factorio_token;
};
playerctl = super.playerctl.overrideAttrs (o: {
patches = (o.patches or []) ++ [ ./playerctl-solid-emoji.diff ];
});
2022-06-10 09:34:19 +02:00
countfftabs = super.callPackage ./countfftabs {};
lz4json = super.stdenv.mkDerivation (o: {
pname = "lz4json";
version = "20191229";
src = super.fetchFromGitHub {
repo = o.pname;
owner = "andikleen";
rev = "c44c51005c505de2636cc1e59cde764490de7632";
hash = "sha256-rLjJ7qy7Tx0htW1VxrfCCqVbC6jNCr9H2vdDAfosxCA=";
};
buildInputs = [ super.lz4 ];
nativeBuildInputs = [ super.pkg-config ];
installPhase = ''
runHook preInstall
install -D -t $out/bin lz4jsoncat
runHook postInstall
'';
});
2023-03-22 11:35:37 +01:00
wayland-push-to-talk-fix = self.callPackage ./wayland-push-to-talk-fix.nix {};
2023-09-24 22:26:11 +02:00
y-deployer = self.callPackage ../deployer/package.nix {};
inherit (self.nix-npm-buildpackage) buildYarnPackage;
marvin-tracker = self.callPackage ./marvin-tracker {};
2023-04-03 16:26:25 +02:00
grott = self.callPackage ./grott.nix {};
python3 = super.python3.override {
packageOverrides = pyself: pysuper: {
libscrc = pyself.callPackage ./libscrc.nix {};
};
};
2024-02-17 09:57:31 +01:00
xwaylandvideobridge = self.libsForQt5.callPackage ./xwaylandvideobridge.nix {};
2023-05-01 14:35:39 +02:00
timesync = self.flake-inputs.timesync.packages.${self.system}.default;
wl-clipboard = super.wl-clipboard.overrideAttrs (o: {
2023-07-20 15:29:02 +02:00
# todo: upstream
patches = (o.patches or []) ++ [
(self.fetchpatch {
url = "https://puck.moe/up/zapap-suhih.patch";
hash = "sha256-YiFDeBN1k2+lxVnWnU5sMpIJ7/zsVPEm5OZf0nHhzJA=";
})
];
});
2023-09-18 10:57:19 +02:00
notion-desktop = self.callPackage ./notion-desktop {
2023-09-21 10:02:02 +02:00
electron_26 = self.electron_27;
2023-09-18 10:57:19 +02:00
};
2023-09-23 15:53:36 +02:00
r8-cog = self.stdenvNoCC.mkDerivation rec {
pname = "cog";
2024-02-17 09:59:56 +01:00
version = "0.9.4";
2023-09-23 15:53:36 +02:00
src = self.fetchurl {
url = "https://github.com/replicate/cog/releases/download/v${version}/cog_linux_x86_64";
2024-02-17 09:59:56 +01:00
hash = "sha256-tULhTzhC4mE4ic80oecrVtkMBLSTunqyKNOjiRqTTcM=";
2023-09-23 15:53:36 +02:00
};
dontUnpack = true;
installPhase = ''
install -Dm 755 $src $out/bin/cog
mkdir -p $out/share/{fish/vendor_completions.d,bash-completion/completions,zsh/site-functions}
$out/bin/cog completion bash > $out/share/bash-completion/completions/cog
$out/bin/cog completion fish > $out/share/fish/vendor_completions.d/cog.fish
$out/bin/cog completion zsh > $out/share/zsh/site-functions/_cog
'';
};
2023-12-20 13:32:18 +01:00
obsidian = with self.lib; throwIf (versionOlder "1.4.16" super.obsidian.version) "Obsidian no longer requires EOL Electron" (
super.obsidian.override {
electron = self.electron_25.overrideAttrs (_: {
preFixup = "patchelf --add-needed ${self.libglvnd}/lib/libEGL.so.1 $out/bin/electron"; # NixOS/nixpkgs#272912
meta.knownVulnerabilities = [ ]; # NixOS/nixpkgs#273611
});
}
);
2023-12-28 13:41:27 +01:00
noulith = self.rustPlatform.buildRustPackage rec {
pname = "noulith";
version = "20231228";
src = self.fetchFromGitHub {
owner = "betaveros";
rev = "3bce693335d8170895407846c237b6dad10ef7ec";
repo = pname;
hash = "sha256-Ye/Htcp9lrRo80ix4QQ+lDZSmpDSA6t1MCcWL6yTvGg=";
};
buildFeatures = [ "cli" "request" "crypto" ];
cargoHash = "sha256-N/BeeJIkbEccELqZhTFkHiaWJZgNiBazQLRqkqtPfJY=";
nativeBuildInputs = [ self.pkg-config ];
buildInputs = [ self.openssl.dev ];
};
2024-03-15 10:01:03 +01:00
llm = super.callPackage ./llm.nix {};
2021-05-30 11:47:17 +02:00
})