Skip to content

Instantly share code, notes, and snippets.

Jonas Holst Damtoft Jomik

  • Denmark
View GitHub Profile
View shell.nix
with import <nixpkgs> { config.android_sdk.accept_license = true; };
let
inherit (pkgs) mkShell openjdk;
androidPkgs = androidenv.composeAndroidPackages {
platformVersions = [ "28" ];
abiVersions = [ "x86" "x86_64"];
includeEmulator = true;
};
inherit (androidPkgs) androidsdk;
View nativescript-sidekick.nix
{ stdenv, fetchurl, dpkg
, desktop-file-utils, gnome2, hicolor-icon-theme
, libappindicator-gtk2, libnotify, libXtst, nss
, gtk2, atk, cairo, gdk_pixbuf, glib, freetype, fontconfig
, dbus, libXi, libXcursor, libxcb, libXdamage, libXrandr
, libXcomposite, libXext, libXfixes, libXrender, libX11
, libXScrnSaver, nspr, alsaLib, cups, expat
}:
let
View firestorm.nix
{ buildFHSUserEnv, stdenv, fetchurl, writeScriptBin, callPackage }:
let
nixGL = callPackage (fetchTarball {
url = "https://github.com/guibou/nixGL/archive/04a6b0833fbb46a0f7e83ab477599c5f3eb60564.tar.gz";
sha256 = "0z1zafkb02sxng91nsx0gclc7n7sv3d5f23gp80s3mc07p22m1k5";
}) {};
firestorm = stdenv.mkDerivation rec {
pname = "firestorm";
version = "6.0.2.56680";
View firestorm.nix
{ lib, pkgs, stdenv }:
let
inherit (pkgs) python2Packages fetchurl fetchhg;
llbase = python2Packages.buildPythonApplication rec {
pname = "llbase";
version = "1.2.2";
src = python2Packages.fetchPypi {
inherit pname version;
View lslint.nix
{ lib, stdenv, fetchFromGitHub, glibc, bison, flex }:
stdenv.mkDerivation rec {
pname = "lslint";
version = "1.2.1";
src = fetchFromGitHub {
owner = "Makopo";
repo = "lslint";
rev = "v${version}";
sha256 = "1fhkmiznbzld1i6r7lmc7gdyjay82s8kbg9sh9lfd8nfkirkqrxn";
View lslint.nix
{ lib, pkgs }:
pkgs.stdenv.mkDerivation rec {
name = "lslint-${version}";
version = "1.2.1";
src = pkgs.fetchFromGitHub {
owner = "Makopo";
repo = "lslint";
rev = "d9af2b3e9f8b23633a4a1db5f051287e94efeeb4";
sha256 = "1fhkmiznbzld1i6r7lmc7gdyjay82s8kbg9sh9lfd8nfkirkqrxn";
View lslint.nix
{ lib, pkgs }:
pkgs.stdenv.mkDerivation {
name = "lslint";
buildInputs = with pkgs; [ bison flex ];
nativeBuildInputs = with pkgs; [ ];
src = pkgs.fetchFromGitHub {
owner = "Makopo";
repo = "lslint";
View shell.nix
with import <nixpkgs> {};
let
inherit (pkgs) mkShell;
in mkShell {
buildInputs = with pkgs; [
(haskellPackages.ghcWithPackages (self: [
self.xmonad
self.xmonad-contrib
self.xmonad-extras
self.taffybar
View default.nix
{ pkgs ? import <nixpkgs> {} }:
let
listDirectory = with builtins; action: dir:
let
list = readDir dir;
in listToAttrs (map
(name: {
name = replaceStrings [".nix"] [""] name;
value = action (dir + ("/" + name));
View lslint.nix
{ lib, pkgs }:
pkgs.stdenv.mkDerivation {
name = "lslint";
buildInputs = with pkgs; [ bison flex ];
nativeBuildInputs = with pkgs; [ ];
src = pkgs.fetchFromGitHub {
owner = "Makopo";
repo = "lslint";
You can’t perform that action at this time.