This file contains hidden or 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, fetchurl, dpkg }: | |
stdenv.mkDerivation rec { | |
pname = "etcher-bin"; | |
version = "1.5.26"; | |
src = fetchurl { | |
url = "https://github.com/balena-io/etcher/releases/download/v${version}/balena-etcher-electron_${version}_amd64.deb"; | |
sha256 = "0hskc74y7p4j1x33yx0w4fvr610p2yimas8pxhr6bs7mb9b300h7"; | |
}; |
This file contains hidden or 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, fetchurl, dpkg, makeWrapper }: | |
stdenv.mkDerivation rec { | |
pname = "etcher-bin"; | |
version = "1.5.26"; | |
src = fetchurl { | |
url = "https://github.com/balena-io/etcher/releases/download/v${version}/balena-etcher-electron_${version}_amd64.deb"; | |
sha256 = "01zsgi420vbllfzwz86j8daqgbywf5vvaf3rlk0cka8plgy505ji"; | |
}; |
This file contains hidden or 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
TARGET = main | |
LIBS = -lm | |
CC = gcc | |
CFLAGS = -g -Wall | |
ODIR = ./build | |
SDIR = ./src | |
.PHONY: default all clean | |
default: $(ODIR)/$(TARGET) |
This file contains hidden or 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
{ pkgs ? import <nixpkgs> {}, stdenv, fetchFromGitHub, ... }: | |
stdenv.mkDerivation rec { | |
pname = "lantern"; | |
version = "5.3.8"; | |
src = fetchFromGitHub { | |
owner = "getlantern"; | |
repo = "lantern"; | |
rev = "${version}"; |
This file contains hidden or 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
// Config file of V2Ray. This file follows standard JSON format, with comments support. | |
// Uncomment entries below to satisfy your needs. Also read our manual for more detail at | |
// https://www.v2ray.com/ | |
{ | |
"log": { | |
// By default, V2Ray writes access log to stdout. | |
"access": "/home/linarcx/v2ray.acc", | |
// By default, V2Ray write error log to stdout. | |
"error": "/home/linarcx/v2ray.err", |
This file contains hidden or 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
{ lib, stdenv, buildGoModule, fetchFromGitHub }: | |
buildGoModule rec { | |
name = "v2ray"; | |
version = "4.18.1"; | |
src = fetchFromGitHub { | |
owner = "v2ray"; | |
repo = "v2ray-core"; | |
rev = "v${version}"; |
This file contains hidden or 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
{ config, pkgs, lib, ... }: | |
let | |
cfg = config.services.v2ray; | |
inherit (lib) mkEnableOption mkIf; | |
in | |
{ | |
# interface | |
options = { |
This file contains hidden or 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
TARGET = main | |
LIBS = `pkg-config --libs -cflags gtkmm-3.0` | |
CXX = g++ | |
CFLAGS = -g -Wall | |
ODIR = ./build | |
SDIR = ./src | |
OBJECTS = $(patsubst $(SDIR)/**/%.cpp, $(ODIR)/%.o, $(wildcard $(SDIR)/*.cpp)) | |
HEADERS = $(wildcard $(SDIR)/*.h) |
This file contains hidden or 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
PROJECT(PandocGui) | |
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) | |
FIND_PACKAGE(PkgConfig REQUIRED) | |
PKG_CHECK_MODULES(GTKMM3 REQUIRED gtkmm-3.0) | |
# Setup CMake to use GTKMM3.0. | |
# Tell the compiler where to look for headers and to the linker where to look for libraries | |
INCLUDE_DIRECTORIES(${GTKMM3_INCLUDE_DIRS}) | |
LINK_DIRECTORIES(${GTKMM3_LIBRARY_DIRS}) |
OlderNewer