Getting this into a Nixpkgs and adding flake.nix?

Open
#468 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale

Research direction

Start by reviewing the linked nixpkgs commit and the repository's release process. Determine whether the package naming and binary rename are acceptable, whether a tagged release is needed, and what a flake.nix should expose; done means the project has a documented decision and the requested packaging artifacts or release plan.

Written by the indexing model from the issue text.

Description

We've been using esplora as a backend for Fedimint testing. We've been running it as an ad-hoc package derivation, but I'd love to get off an extra nixpkgs fork and so on.

Here is the commit I'd like to submit to nixpkgs:

https://github.com/dpc/nixpkgs/commit/ab43e3369a231d00b06ec3a2e091a995170e26d4

As you can see I rename the package and a binary so it doesn't conflict with the existing electrs. I think sharing names with a fork is a mistake.

Anyway, please let me know if you're fine with this, and maybe you could consider making a tagged release so it all looks a bit "clean and polished" to Nixpkgs maintainers?

Also, would you be interested in adding a flake.nix to this repo, so people could just import it directly in their own flakes?

Dominant language
JavaScript
Stars
1.3k
Forks
527
Avg merge
2d 5h
Merged PRs (30d)
4

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Blockstream/esplora

All issues in Blockstream/esplora

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.