This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ autoPatchelfHook, appimageTools, pkgs, desktop-file-utils, stdenv, fetchurl | |
, fetchzip, fetchFromGitHub }: | |
# fetchzip is for compatibility, bother AppImage builder about that : | |
# https://docs.appimage.org/packaging-guide/distribution.html#do-not-put-appimages-into-other-archives | |
let | |
self = appimagePackages; | |
appimagePackages = with self; { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!@shell@ | |
if [ ! -z "$DEBUG" ] ; then | |
env | |
set -x | |
fi | |
export PATH=@path@ | |
# src : AppImage | |
# dest : let's unpack() create the directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!@bash@/bin/bash | |
set -x | |
export PATH=/empty | |
for i in @path@; do PATH=$PATH:$i/bin; done | |
# src : AppImage | |
# dest : let's unpack() create the directory | |
unpack() { | |
src=$1 | |
out=$2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, buildFHSUserEnv, writeScript, pkgs | |
, bash, radare2, jq, squashfsTools | |
, coreutils, file, libarchive, runtimeShell }: | |
rec { | |
/* appimage-exec = stdenv.mkDerivation { */ | |
#inherit pname version; | |
/* name = "appimage-exec"; */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, buildFHSUserEnv, writeScript | |
, bash, radare2, jq, squashfsTools | |
, coreutils, file, libarchive, runtimeShell }: | |
rec { | |
appimage-exec = stdenv.mkDerivation { | |
#inherit pname version; | |
name = "appimage-exec"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!${runtimeShell} | |
if [ $# -eq 0 ]; then | |
echo "Usage: $0 FILE [OPTION...]" | |
echo | |
echo 'Options are passed on to the appimage.' | |
echo "If you want to execute a custom command in the appimage's environment, set the APPIMAGE_DEBUG_EXEC environment variable." | |
exit 1 | |
fi | |
APPIMAGE="$(realpath "$1")" | |
shift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ buildFHSUserEnv, coreutils, file, libarchive, runtimeShell | |
, extraPkgs ? pkgs: [], appimageTools, stdenv }: | |
let | |
version = "1.0"; | |
fhsArgs = appimageTools.defaultFhsEnvArgs; | |
appimage-exec = stdenv.mkDerivation { | |
#inherit pname version; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TomTom CPU : S3C2412XL-26 ARM926EJ ARM CPU with 8KB I-Cache/8KB DCache/MMU | |
# nix-shell -I nixpkgs=/home/genesis/devel/nixpkgs | |
let | |
self: super: { SDL = super.SDL.override {openglSupport = false;}; }; | |
#moz_overlay = import (); | |
#nixpkgs = import <nixpkgs> { overlays = [ moz_overlay ]; }; | |
#nixpkgs = import <nixpkgs> { }; | |
in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2016 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
# $Header: | |
EAPI=5 | |
inherit qmake-utils | |
DESCRIPTION="a full featured webcam capture application." | |
HOMEPAGE="https://webcamoid.github.io" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import gtk, threading, datetime, urllib2, json | |
import Image, ImageChops, ImageStat, StringIO | |
CONFIG_FILE = "config.json" | |
# config sample | |
#{ | |
# "sensivity": 10, |