Skip to content

Instantly share code, notes, and snippets.

@AcouBass
AcouBass / default.nix
Last active May 12, 2018 02:24
Tuxguitar 1.5.1 nixpkg
{ stdenv, fetchurl, swt, libXtst, jdk, fluidsynth, makeWrapper, alsaLib, jre, makeDesktopItem }:
with stdenv.lib;
let metadata = assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
if stdenv.system == "i686-linux" then
{ arch = "x86"; sha256 = "1qmb51k0538pn7gv4nsvhfv33xik4l4af0qmpllkzrikmj8wvzlb"; }
else
{ arch = "x86_64"; sha256 = "19d8srzki57yywin5nipibq7kkwf65k3ngk6kzqa57ska22rqhfj"; };
in stdenv.mkDerivation rec {
@AcouBass
AcouBass / PKGBUILD
Created August 16, 2017 23:13
linux-sunxi for GPD Win + Arch
# Maintainer: Boohbah <boohbah at gmail.com>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>
# Contributor: Jonathan Chan <jyc@fastmail.fm>
# Contributor: misc <tastky@gmail.com>
# Contributor: NextHendrix <cjones12 at sheffield.ac.uk>
pkgbase=linux-sunxi
_srcname=linux-sunxi
pkgver=3.9rc5.r330933.g3d6c41f4a7eb
@AcouBass
AcouBass / youtube.sh
Created May 11, 2017 00:26
youtubes sub script
#!/bin/sh
passs=$(pass Internet/Google | head -n 1)
youtube-dl -i -u fake@gmail.com :ytsubs -p $passs -2 $2 --dateafter now-$1days -v --download-archive /home/eddie/pipes/youtubearchive
{ stdenv, fetchurl, makeDesktopItem, jre7, openal, libX11, libXext, libXcursor, libXrandr, libXxf86vm, openjdk7, mesa }:
with stdenv.lib;
let
icon = fetchurl {
url = "http://rocketdock.com/images/screenshots/thumbnails/runescape-1.png";
sha256 = "1hyxjjc33673a899f991756qnmq2mga786xkz1hw5fadb1zjq2p3";
};
### Keybase proof
I hereby claim:
* I am acoubass on github.
* I am piecemaker (https://keybase.io/piecemaker) on keybase.
* I have a public key ASBqTq4h1Unzsu85H1Up_hUG_GRDBgbCE1nQiAiVOyLgywo
To claim this, I am signing this object:
@AcouBass
AcouBass / default.nix
Last active November 25, 2017 16:55
OpenRCT2 nix
{ stdenv, fetchFromGitHub, mesa, libX11, SDL2, SDL2_ttf, curl, cmake, jansson, speexdsp, openssl, libpng12, fontconfig, libzip, pkgconfig, glew }:
stdenv.mkDerivation rec {
version = "0.1.1";
name = "OpenRCT2-${version}";
src = fetchFromGitHub {
owner = "OpenRCT2";
repo = "OpenRCT2";
rev = "46012651c531e9d5b5202b9521ced8126e30ce8f";
sha256 = "1xxwqx2gzvsdrsy76rz3sys9m4pyn9q25nbnkba3cw1z4l2b73lg";
@AcouBass
AcouBass / python-packages.nix testing
Last active May 20, 2017 14:40
attempt at packaging sc-controller
sc-controller = buildPythonPackage {
name = "sc-controller";
version = "0.3.10";
src = pkgs.fetchFromGitHub {
owner = "kozec";
repo = "sc-controller";
rev = "v0.3.10";
sha256 = "0i4qg4ljnd1l1vq3n2i0q141qbfh733k0iyqcnpagh4w1glhhaa6";
};
;; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce.
(use-modules (gnu) (gnu system nss) (gnu packages))
(use-service-modules desktop)
(use-package-modules mail gnuzilla gnustep certs)
(operating-system
(host-name "GuixLaptop")
(timezone "Europe/London")
{ stdenv, fetchFromGitHub, libxml2 }:
stdenv.mkDerivation rec {
name = "crane-gps-watch";
src = fetchFromGitHub {
owner = "mru00";
repo = "crane_gps_watch";
rev = "221f99dc2925a07658f7b6e01789ced1a18cc08c";
sha256 = "0ji50yg85a114pdvw8k5jgfxq312frlxq67bazfaws9mkhnkpi9v";
};
@AcouBass
AcouBass / configuration.nix
Last active December 17, 2021 16:33
NixOS configuration for my laptop
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, lib, ... }:
{
imports =