Giter Site home page Giter Site logo

minijackson / epnix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from epics-extensions/epnix

0.0 0.0 0.0 988 KB

Build, package, deploy IOCs and EPICS-related software using the Nix package manager

Home Page: https://epics-extensions.github.io/EPNix/

License: Apache License 2.0

Shell 0.31% C++ 2.28% Python 12.66% Smalltalk 0.28% Nix 75.60% Makefile 7.75% Batchfile 1.12%

epnix's Introduction

EPNix

EPNix (pronunciation: like you are high on mushrooms) packages EPICS-related software by using the Nix package manager.

It's made of three parts:

  • the EPICS IOC framework
  • other EPICS-related packages
  • NixOS modules

The EPICS IOC framework lets you package, deploy, and test EPICS IOCs by using the Nix package manager, which provides several benefits. For more information, see the EPICS IOC documentation.

EPNix also packages other EPICS-related tools, such as procServ, Phoebus, and so on. You can build them by using Nix, while having a strong guarantee that they work as-is. For a list of all supported EPICS-related packages, see the Packages list.

Note: providing a cache server that enables you to download dependencies pre-compiled is anticipated.

EPNix also provides NixOS modules, which are instructions on how to configure various EPICS-related services on NixOS machines (for example the Phoebus alarm server). EPNix strives to have integration tests for each of those module. For more information, see the NixOS services documentation.

Getting started building IOCs

See over there in the documentation book.

Packaging policy

In its package repository, EPNix officially supports the latest upstream version.

This doesn't cause much issues: since EPNix is a Git repository, you use a fixed version of EPNix, without being forced to upgrade your dependencies.

The epics-base package

The epics-base package has no significant modification compared to the upstream version at Launchpad. One goal of EPNix is to have as little modification as possible, and upstream what's possible.

Quick example of an EPNix configuration

epnix = {
  meta.name = "my-top";

  # You can choose the version of EPICS-base here:
  # ---
  epics-base.releaseBranch = "3"; # Defaults to "7"

  # Add one of the supported modules here:
  # ---
  support.modules = with pkgs.epnix.support; [ StreamDevice ];

  # You can specify environment variables for your development shell like this:
  # ---
  devShell.environment.variables."EPICS_CA_ADDR_LIST" = "localhost";
};

epnix's People

Contributors

minijackson avatar stephane-cea avatar dependabot[bot] avatar agaget avatar synthetica9 avatar rider128 avatar viviencea avatar lcaouen avatar github-actions[bot] 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.