Skip to content

support arbitrary downloads #163

@KiaraGrouwstra

Description

@KiaraGrouwstra

Currently, npins add supports a number of difference source types:

$ npins add --help
Adds a new pin entry

Usage: npins add [OPTIONS] <COMMAND>

Commands:
  channel  Track a Nix channel
  github   Track a GitHub repository
  forgejo  Track a Forgejo repository
  gitlab   Track a GitLab repository
  git      Track a git repository
  pypi     Track a package on PyPi
  tarball  Track a tarball

One option potentially missing here seems non-tarball downloads, which seems useful for e.g. NixOS ISO downloads.
To be fair, this may differ from existing source types in the sense it would offer a file (like pkgs.fetchurl) rather than a directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions