Skip to content

atlas-engineer/ospm

Repository files navigation

OSPM: An “Operating System Package Manager”

Status: Experimental.

Inspired by https://github.com/emacs-helm/helm-system-packages.

Supported package managers:

It provides an os-package class with subclasses which specialize for various package managers.

If the package manager supports it, the class also includes the list of dependencies and dependents.

Multiple package managers may coexist. For instance, Guix can be installed on top over another OS which also features another package manager.

The library provides functions to interact with packages:

  • list-packages: The list of all packages.
  • install
  • uninstall
  • list-files
  • find-os-packages

The following is mostly for functional package managers like Nix and Guix:

  • list-package-outputs
  • list-profiles
  • list-manifests
  • install-manifests
  • list-generations
  • delete-generations
  • switch-generation

More helpers may be available depending on the package manager.

Change log

0.0.2

  • Add print-object methods for os-package and os-package-output.
  • Initial support for Guix package source inspection (Git references only).

About

OS package manager interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published