Skip to content

Instantly share code, notes, and snippets.

View corpix's full-sized avatar
👹
Fighting demons

corpix corpix

👹
Fighting demons
View GitHub Profile
{ lib
, buildPythonPackage
, fetchPypi
, isPyPy
, pytestCheckHook
, asttokens
, executing
, pure-eval
, stack-data
, six
@corpix
corpix / default.nix
Created November 12, 2024 23:28
nocodb nix derivation
{ stdenv, fetchFromGitHub, lib
, python3, pkg-config, nodejs, pnpm, openssl, sqlite, jq
, ... }:
stdenv.mkDerivation
(finalAttrs: rec {
pname = "nocodb";
version = "0.257.2";
src = fetchFromGitHub {
owner = "nocodb";
{ lib, stdenv, fetchFromGitHub, pkg-config, autoconf, automake
, libtool, nettle, gnutls, gettext, libabigail
}:
stdenv.mkDerivation rec {
pname = "radcli";
version = "1.3.1";
src = fetchFromGitHub {
owner = "radcli";
±²³SolveSpaceREVa
Group.h.v=00000001
Group.type=5000
Group.name=#references
Group.color=ff000000
Group.skipFirst=0
Group.predef.swapUV=0
Group.predef.negateU=0
(defun use-ansi-process-filter (process)
(set-process-filter
process
(lambda (process string)
(internal-default-process-filter process string)
(with-current-buffer (process-buffer process)
(save-excursion
(goto-char (point-max))
(let ((previous-point-max (point-max)))
(insert string)
@corpix
corpix / tarantool.nix
Last active August 21, 2022 04:21
Tarantool for NixOS
{ pkgs ? import <nixpkgs> {}, ... }: let
inherit (pkgs)
stdenv
fetchgit
;
tag = "2.10.1";
commit = "482d91c66";
# git describe --long ${version}
version = "${tag}-0-g${commit}";
{ pkgs ? import <nixpkgs> {}, ... }: pkgs.libsForQt5.callPackage ({ pkgs ? import <nixpkgs> {}
, lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, ninja
, netcdf
, coin3d
, eigen
@corpix
corpix / agola.package.nix
Created July 5, 2022 18:07
AgolaCI Nix integration
{ pkgs ? import <nixpkgs> {} }:
pkgs.buildGoModule {
name = "agola";
src = pkgs.fetchFromGitHub {
owner = "agola-io";
repo = "agola";
rev = "v0.7.0";
sha256 = "sha256-AiD7mVogWk/TOYy7Ed1aT31h1kbrRwseue5qc3wLOCI=";
};
doCheck = false;
@corpix
corpix / ulisp.el
Last active June 22, 2023 14:50
Emacs Lisp runner to uLisp REPL
(defgroup ulisp-mode nil
"Settings for ulisp-mode Lisp source buffers."
:prefix "ulisp-"
:group 'ulisp)
(defcustom ulisp-port "/dev/ttyUSB0"
"uLisp serial port"
:type 'string
:group 'ulisp-mode)
(defcustom ulisp-port-speed 115200
"uLisp serial port speed bps"
@corpix
corpix / luastatic.nix
Created April 24, 2022 13:40
Luastatic nix derivation
{ lua, luaPackages, fetchurl, fetchgit }:
luaPackages.buildLuarocksPackage rec {
pname = "luastatic";
version = "0.0.12";
knownRockspec = (fetchurl {
url = "https://luarocks.org/manifests/ers35/luastatic-${version}-1.rockspec";
sha256 = "sha256-jNxq4gyO+7kN7+Vpvq1iGFrIQ15x+HAkcqa3VqIhUVU=";
}).outPath;
src = fetchgit {
url = "https://github.com/ers35/luastatic";