Merge pull request #138550 from Stunkymonkey/tools-misc-github
This commit is contained in:
commit
09965695b9
@ -1,14 +1,22 @@
|
||||
{ lib, stdenv, fetchzip
|
||||
, boost, clasp, cmake, gringo, re2c
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, boost
|
||||
, clasp
|
||||
, cmake
|
||||
, gringo
|
||||
, re2c
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.9.5";
|
||||
pname = "aspcud";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/potassco/aspcud/archive/v${version}.tar.gz";
|
||||
sha256 = "sha256-d04GPMoz6PMGq6iiul0zT1C9Mljdl9uJJ2C8MIwcmaw=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "potassco";
|
||||
repo = "aspcud";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-d04GPMoz6PMGq6iiul0zT1C9Mljdl9uJJ2C8MIwcmaw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, autoconf, ncurses, pcre }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ccze";
|
||||
version = "0.2.1-2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/madhouse/ccze/archive/ccze-${version}.tar.gz";
|
||||
sha256 = "1amavfvyls4v0gnikk43n2rpciaspxifgrmvi99qj6imv3mfg66n";
|
||||
src = fetchFromGitHub {
|
||||
owner = "madhouse";
|
||||
repo = "ccze";
|
||||
rev = "ccze-${version}";
|
||||
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf ncurses pcre ];
|
||||
|
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, xcbuildHook, Foundation, AddressBook }:
|
||||
{ lib, stdenv, fetchFromGitHub, xcbuildHook, Foundation, AddressBook }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "1.1a-3";
|
||||
pname = "contacts";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/dhess/contacts/archive/4092a3c6615d7a22852a3bafc44e4aeeb698aa8f.tar.gz";
|
||||
sha256 = "0wdqc1ndgrdhqapvvgx5xihc750szv08lp91x4l6n0gh59cpxpg3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dhess";
|
||||
repo = "contacts";
|
||||
rev = "4092a3c6615d7a22852a3bafc44e4aeeb698aa8f";
|
||||
hash = "sha256-Li/c5uf9rfpuU+hduuSm7EmhVwIIkS72dqzmN+0cE3A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
|
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, util-linux, coreutils}:
|
||||
{ lib, stdenv, fetchFromGitHub, util-linux, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.44";
|
||||
pname = "profile-sync-daemon";
|
||||
version = "6.44";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/graysky2/profile-sync-daemon/archive/v${version}.tar.gz";
|
||||
sha256 = "sha256-+iQr7T99X/jYYgq0xNHLPCJG5mZU/6dN76Z1FB51Z54=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "graysky2";
|
||||
repo = "profile-sync-daemon";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-7sEC2b4mzgbDTFgpH5abZ/kiwEmGdbKkTLiD73Efdls=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -1,10 +1,13 @@
|
||||
{ lib, stdenv, fetchurl, autoreconfHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sdate";
|
||||
version = "0.7";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ChristophBerg/sdate/archive/${version}.tar.gz";
|
||||
sha256 = "1lfnsb8prac8rspnxcawd138jyhyivwf35rrmfvwq6dhsx23c6vy";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ChristophBerg";
|
||||
repo = "sdate";
|
||||
rev = version;
|
||||
hash = "sha256-jkwe+bSBa0p1Xzfetsdpw0RYw/gSRxnY2jBOzC5HtJ8=";
|
||||
};
|
||||
|
||||
buildInputs = [ autoreconfHook ];
|
||||
|
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchzip, autoreconfHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tio";
|
||||
version = "1.32";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/tio/tio/archive/v${version}.tar.gz";
|
||||
sha256 = "0lwqdm73kshi9qs8pks1b4by6yb9jf3bbyw3bv52xmggnr5s1hcv";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tio";
|
||||
repo = "tio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-m8GgS7bv1S7KXoP7tYaTaXnjF1lBz4s0ThHqOU5tmFM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, coreutils, gawk }:
|
||||
{ lib, stdenv, fetchFromGitHub, coreutils, gawk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "txt2man";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mvertes/txt2man/archive/${pname}-${version}.tar.gz";
|
||||
sha256 = "0ka3krmblsprv0v6h6wnm8lv08w30z0ynfnbwns6alks5gx1p6sd";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mvertes";
|
||||
repo = "txt2man";
|
||||
rev = "${pname}-${version}";
|
||||
hash = "sha256-Aqi5PNNaaM/tr9A/7vKeafYKYIs/kHbwHzE7+R/9r9s=";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
|
@ -1,15 +1,16 @@
|
||||
{ lib, stdenv, fetchurl, libxcb, xcbutil, xcbutilwm, git }:
|
||||
{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm, git }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xtitle";
|
||||
version = "0.4.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/baskerville/xtitle/archive/${version}.tar.gz";
|
||||
sha256 = "0w490a6ki90si1ri48jzhma473a598l1b12j8dp4ckici41z9yy2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "baskerville";
|
||||
repo = "xtitle";
|
||||
rev = version;
|
||||
hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg=";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ libxcb git xcbutil xcbutilwm ];
|
||||
|
||||
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
|
||||
|
Loading…
Reference in New Issue
Block a user