GithubHelp home page GithubHelp logo

jnsgruk / crafts-flake Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 0.0 177 KB

Nix flake for ⭐craft applications and libraries.

License: Apache License 2.0

Nix 84.34% Shell 15.66%
flake flakehub nix nix-flake rockcraft snapcraft starcraft charmcraft

crafts-flake's Introduction

crafts-flake

FlakeHub tests

A nix flake for the Canonical ⭐craft suite of tools.

Caution

This flake is now deprecated - snapcraft, rockcraft and charmcraft are now available in upstream nixpkgs, and this repository is no longer maintained.

The code remains in tact in case the approach is a useful reference in the future, but attempting to install the packages will throw an error.

Quick start

The default package is charmcraft, which you can build/test with:

# Run charmcraft
$ nix run github:jnsgruk/crafts-flake#charmcraft

# Run rockcraft
$ nix run github:jnsgruk/crafts-flake#rockcraft

# Run snapcraft
$ nix run github:jnsgruk/crafts-flake#snapcraft

Usage

First, add this flake to your flake's inputs

inputs = {
    # ...
    crafts.url = "github:jnsgruk/crafts-flake";
}

Ensure that you configure your system to use the included pkgs overlay:

nixpkgs = {
    overlays = [ inputs.crafts.overlay ]
};

Next, configure your system using the included packages:

{ pkgs, ...}: {
  environment.systemPackages = with pkgs; [
    charmcraft
    rockcraft
    snapcraft
  ]
}

crafts-flake's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar jnsgruk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.