Coder Social home page Coder Social logo

numtide / go-nix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nix-community/go-nix

0.0 0.0 0.0 2.83 MB

Elements of Nix re-implemented as Go libraries [maintainer=@flokli]

Home Page: https://matrix.to/#/#go-nix:matrix.org

License: Apache License 2.0

Go 100.00%

go-nix's Introduction

go-nix - Nix experiments written in go

STATUS: experimental

This repository holds a bunch of experiments written in Go.

cmd/gonix

A command line entrypoint called gonix, currently implementing the nar {cat,dump-path,ls} commands.

They're not meant to be 100% compatible, but are documented in the --help output.

pkg/derivation

A parser for Nix .drv files. Functions to calculate derivation paths and output hashes.

pkg/derivation/store

A Structure to hold derivation graphs.

pkg/hash

Methods to serialize and deserialize some of the hashes used in nix code and .narinfo files.

pkg/nar

A Nix ARchive (NAR) file Reader and Writer, with an interface similar to archive/tar from the stdlib, as well as a DumpPath method, which will assemble a NAR representation of a local file system path.

pkg/nar/ls

A parser for .ls files (providing an index for .nar files)

pkg/nar/narinfo

A parser and generator for .narinfo files.

pkg/nixbase32

An implementation of the slightly odd "base32" encoding that's used in Nix, providing some of the functions in encoding/base32.Encoding.

pkg/storepath

A parser and regexes for Nix Store Paths.

pkg/storepath/references

A Nix Store path reference scanner.

pkg/wire

Methods to parse and produce fields used in the low-level Nix wire protocol.

go-nix's People

Contributors

flokli avatar adisbladis avatar zimbatm avatar rizary avatar dependabot[bot] avatar jfroche avatar zombiezen avatar edef1c avatar manveru 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.