Merge pull request #138550 from Stunkymonkey/tools-misc-github

This commit is contained in:
Sandro 2021-10-12 14:48:44 +02:00 committed by GitHub
commit 09965695b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 72 additions and 50 deletions

View File

@ -1,14 +1,22 @@
{ lib, stdenv, fetchzip { lib
, boost, clasp, cmake, gringo, re2c , stdenv
, fetchFromGitHub
, boost
, clasp
, cmake
, gringo
, re2c
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.9.5"; version = "1.9.5";
pname = "aspcud"; pname = "aspcud";
src = fetchzip { src = fetchFromGitHub {
url = "https://github.com/potassco/aspcud/archive/v${version}.tar.gz"; owner = "potassco";
sha256 = "sha256-d04GPMoz6PMGq6iiul0zT1C9Mljdl9uJJ2C8MIwcmaw="; repo = "aspcud";
rev = "v${version}";
hash = "sha256-d04GPMoz6PMGq6iiul0zT1C9Mljdl9uJJ2C8MIwcmaw=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, autoconf, ncurses, pcre }: { lib, stdenv, fetchFromGitHub, autoconf, ncurses, pcre }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ccze"; pname = "ccze";
version = "0.2.1-2"; version = "0.2.1-2";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/madhouse/ccze/archive/ccze-${version}.tar.gz"; owner = "madhouse";
sha256 = "1amavfvyls4v0gnikk43n2rpciaspxifgrmvi99qj6imv3mfg66n"; repo = "ccze";
rev = "ccze-${version}";
hash = "sha256-LVwmbrq78mZcAEuAqjXTqLE5we83H9mcMPtxQx2Tn/c=";
}; };
buildInputs = [ autoconf ncurses pcre ]; buildInputs = [ autoconf ncurses pcre ];

View File

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, xcbuildHook, Foundation, AddressBook }: { lib, stdenv, fetchFromGitHub, xcbuildHook, Foundation, AddressBook }:
stdenv.mkDerivation { stdenv.mkDerivation {
version = "1.1a-3"; version = "1.1a-3";
pname = "contacts"; pname = "contacts";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/dhess/contacts/archive/4092a3c6615d7a22852a3bafc44e4aeeb698aa8f.tar.gz"; owner = "dhess";
sha256 = "0wdqc1ndgrdhqapvvgx5xihc750szv08lp91x4l6n0gh59cpxpg3"; repo = "contacts";
rev = "4092a3c6615d7a22852a3bafc44e4aeeb698aa8f";
hash = "sha256-Li/c5uf9rfpuU+hduuSm7EmhVwIIkS72dqzmN+0cE3A=";
}; };
nativeBuildInputs = [ xcbuildHook ]; nativeBuildInputs = [ xcbuildHook ];
@ -19,10 +21,10 @@ stdenv.mkDerivation {
meta = with lib; { meta = with lib; {
description = "Access contacts from the Mac address book from command-line"; description = "Access contacts from the Mac address book from command-line";
homepage = "http://www.gnufoo.org/contacts/contacts.html"; homepage = "http://www.gnufoo.org/contacts/contacts.html";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ jwiegley ]; maintainers = with maintainers; [ jwiegley ];
platforms = lib.platforms.darwin; platforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.darwin; hydraPlatforms = lib.platforms.darwin;
}; };
} }

View File

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, util-linux, coreutils}: { lib, stdenv, fetchFromGitHub, util-linux, coreutils }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "6.44";
pname = "profile-sync-daemon"; pname = "profile-sync-daemon";
version = "6.44";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/graysky2/profile-sync-daemon/archive/v${version}.tar.gz"; owner = "graysky2";
sha256 = "sha256-+iQr7T99X/jYYgq0xNHLPCJG5mZU/6dN76Z1FB51Z54="; repo = "profile-sync-daemon";
rev = "v${version}";
hash = "sha256-7sEC2b4mzgbDTFgpH5abZ/kiwEmGdbKkTLiD73Efdls=";
}; };
installPhase = '' installPhase = ''

View File

@ -1,10 +1,13 @@
{ lib, stdenv, fetchurl, autoreconfHook }: { lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sdate"; pname = "sdate";
version = "0.7"; version = "0.7";
src = fetchurl {
url = "https://github.com/ChristophBerg/sdate/archive/${version}.tar.gz"; src = fetchFromGitHub {
sha256 = "1lfnsb8prac8rspnxcawd138jyhyivwf35rrmfvwq6dhsx23c6vy"; owner = "ChristophBerg";
repo = "sdate";
rev = version;
hash = "sha256-jkwe+bSBa0p1Xzfetsdpw0RYw/gSRxnY2jBOzC5HtJ8=";
}; };
buildInputs = [ autoreconfHook ]; buildInputs = [ autoreconfHook ];

View File

@ -1,12 +1,14 @@
{ lib, stdenv, fetchzip, autoreconfHook }: { lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tio"; pname = "tio";
version = "1.32"; version = "1.32";
src = fetchzip { src = fetchFromGitHub {
url = "https://github.com/tio/tio/archive/v${version}.tar.gz"; owner = "tio";
sha256 = "0lwqdm73kshi9qs8pks1b4by6yb9jf3bbyw3bv52xmggnr5s1hcv"; repo = "tio";
rev = "v${version}";
hash = "sha256-m8GgS7bv1S7KXoP7tYaTaXnjF1lBz4s0ThHqOU5tmFM=";
}; };
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];

View File

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, coreutils, gawk }: { lib, stdenv, fetchFromGitHub, coreutils, gawk }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "txt2man"; pname = "txt2man";
version = "1.7.1"; version = "1.7.1";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/mvertes/txt2man/archive/${pname}-${version}.tar.gz"; owner = "mvertes";
sha256 = "0ka3krmblsprv0v6h6wnm8lv08w30z0ynfnbwns6alks5gx1p6sd"; repo = "txt2man";
rev = "${pname}-${version}";
hash = "sha256-Aqi5PNNaaM/tr9A/7vKeafYKYIs/kHbwHzE7+R/9r9s=";
}; };
preConfigure = '' preConfigure = ''

View File

@ -1,24 +1,25 @@
{ lib, stdenv, fetchurl, libxcb, xcbutil, xcbutilwm, git }: { lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcbutilwm, git }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xtitle"; pname = "xtitle";
version = "0.4.4"; version = "0.4.4";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/baskerville/xtitle/archive/${version}.tar.gz"; owner = "baskerville";
sha256 = "0w490a6ki90si1ri48jzhma473a598l1b12j8dp4ckici41z9yy2"; repo = "xtitle";
}; rev = version;
hash = "sha256-SVfM2vCCacgchXj0c0sPk3VR6DUI4R0ofFnxJSY4oDg=";
};
buildInputs = [ libxcb git xcbutil xcbutilwm ];
buildInputs = [ libxcb git xcbutil xcbutilwm ]; prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
prePatch = ''sed -i "s@/usr/local@$out@" Makefile''; meta = {
description = "Outputs X window titles";
meta = { homepage = "https://github.com/baskerville/xtitle";
description = "Outputs X window titles"; maintainers = [ lib.maintainers.meisternu ];
homepage = "https://github.com/baskerville/xtitle"; license = "Custom";
maintainers = [ lib.maintainers.meisternu ]; platforms = lib.platforms.linux;
license = "Custom"; };
platforms = lib.platforms.linux;
};
} }