For more information about Nix, please, read Domen's introduction to Nix package manager.
Usage:
$ nix-env -i -f default.nix
$ instance fg
For more information about Nix, please, read Domen's introduction to Nix package manager.
Usage:
$ nix-env -i -f default.nix
$ instance fg
#! /usr/bin/env nix-shell | |
#! nix-shell -i python -p pythonPackages.chameleon pythonPackages.docopt pythonPackages.watchdog | |
"""Chameleon Composer | |
Copyright (c) 2015 Asko Soukka <[email protected]> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
*** Settings *** | |
Library Selenium2Library | |
*** Test Cases *** | |
Open desktop version | |
Open browser https://www.arstechnica.com/ | |
Open mobile version |
with import <nixpkgs> {}; | |
let dependencies = rec { | |
_rabbitmq_plugins = stdenv.mkDerivation rec { | |
name = "rabbitmq-plugins-${version}"; | |
version = rabbitmq_server.version; | |
buildInputs = [ git python libxslt mercurial erlangR16 zip unzip ]; | |
unpackPhase = ""; | |
builder = builtins.toFile "builder.sh" '' | |
source $stdenv/setup | |
git clone https://github.com/rabbitmq/rabbitmq-public-umbrella |
from latex import build_pdf | |
min_latex = (r"\documentclass{article}" | |
r"\begin{document}" | |
r"Hello, world!" | |
r"\end{document}") | |
# this builds a pdf-file inside a temporary directory | |
pdf = build_pdf(min_latex) |
# -*- coding: utf-8 -*- | |
import aioamqp | |
connection = None | |
protocol = None | |
async def disconnected(exception): | |
global connection, protocol |
with import <nixpkgs> {}; | |
stdenv.mkDerivation rec { | |
name = "env"; | |
# Mandatory boilerplate for buildable env | |
env = buildEnv { name = name; paths = buildInputs; }; | |
builder = builtins.toFile "builder.sh" '' | |
source $stdenv/setup; ln -s $env $out | |
''; | |
# Customizable development requirements | |
buildInputs = [ |
*.ipynb | |
*.png | |
*.tar.gz | |
.ipynb_checkpoints | |
.ipython | |
.jupyter | |
.sentinel.* |
*.ipynb | |
*.png | |
*.tar.gz | |
.ipynb_checkpoints | |
.jupyter | |
.sentinel.* |
*.tar.gz | |
.sentinel.* |