This has been moved to the Matrix AI blog: https://matrix.ai/2018/03/24/developing-with-nix/
Note that if you just to compile a simple C program, and you don't want to fiddle with environments:
nix-shell --packages stdenv
This has been moved to the Matrix AI blog: https://matrix.ai/2018/03/24/developing-with-nix/
Note that if you just to compile a simple C program, and you don't want to fiddle with environments:
nix-shell --packages stdenv
<?php | |
/* | |
* Podcast URL Extractor | |
* implemented at http://itunes.so-nik.com | |
* | |
* All code has been re-written by lasavior. | |
* Original code & inspiration from Michael Sitarzewski, zerologic.com | |
* | |
* Ex: http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/viewPodcast?id=269238657 |
Every Python package (which is a collection of modules associated with version
metadata) needs to have a setup.py
.
So first create a relevant setup.py
, refer to my article here:
https://gist.github.com/CMCDragonkai/f0285cdc162758aaadb957c52f693819 for more
information.
Remember that setup.py
is meant to store version compatible ranges of
WAYLAND_PROTOCOLS=/usr/share/wayland-protocols | |
# wayland-scanner is a tool which generates C headers and rigging for Wayland | |
# protocols, which are specified in XML. wlroots requires you to rig these up | |
# to your build system yourself and provide them in the include path. | |
xdg-shell-protocol.h: | |
wayland-scanner server-header \ | |
$(WAYLAND_PROTOCOLS)/stable/xdg-shell/xdg-shell.xml $@ | |
xdg-shell-protocol.c: xdg-shell-protocol.h |