nur-packages/README.md

46 lines
2.0 KiB
Markdown
Raw Normal View History

2020-10-17 10:36:14 +11:00
# nur-packages
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
**My personal [NUR](https://github.com/nix-community/NUR) repository**
2020-10-15 17:05:30 +11:00
2023-02-23 13:46:35 +11:00
[![CI](https://github.com/xeals/nur-packages/actions/workflows/build.yml/badge.svg)](https://github.com/xeals/nur-packages/actions) [![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
## Noteworthy packages
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
### Jetbrains with plugins
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
A fan of the Emacs/Vim/VSCode plugin builder? Now enjoy it with your favourite Jetbrains IDE!
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
The system is mostly proof-of-concept and there are a couple of issues with it at the moment, but it works for what is available in the repo.
#### Using
```nix
{ pkgs ? import <nixpkgs> {} }:
let
xeals = import (builtins.fetchTarball "https://git.xeal.me/xeals/nur-packages/archive/master.tar.gz") {
inherit pkgs;
};
in
# e.g., for IntelliJ IDEA
xeals.jetbrains.ideaCommunityWithPlugins (jpkgs: [
jpkgs.ideavim
jpkgs.checkstyle-idea
2020-10-17 10:36:14 +11:00
])
```
#### Issues
- [ ] The plugin derivation overrides the base instead of extending it; this is really only an issue for the open-source IDEs, and only once they're actually built from source (instead of repackaging the JARs)
- [ ] Plugins must be manually added to the repo; long-term, I'd really want some way to scrape them, or at least have a script to add and update
### spotify-ripper
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
`spotify-ripper` is pretty flexible in the formats it supports, so the derivation allows you to customize which support packages to build with.
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
The default package comes with nothing (which is not entirely useful -- this will probably change at some point). See [the builder](./pkgs/tools/misc/spotify-ripper/default.nix) for options.
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
## General issues
2020-10-15 17:05:30 +11:00
2020-10-17 10:36:14 +11:00
- [ ] `spotify-ripper` does not build on stable NixOS channels before 20.09 when built with m4a or mp4 support, as `fdk-aac-encoder` is not available
- [ ] Due to changes in toolchains affected fixed output hashes, anything using `buildGoModule` and `buildRustPackage` will fail on NixOS 20.03. Override the hashes of `vendor` and `cargoDeps` attributes as needed