Merge pull request #138573 from Stunkymonkey/tools-github-2

This commit is contained in:
Sandro 2021-10-24 16:09:52 +02:00 committed by GitHub
commit ef0b6f56d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 57 additions and 38 deletions

View file

@ -1,13 +1,15 @@
{lib, stdenv, fetchurl, pkg-config, libX11, libXinerama, imlib2}:
{ lib, stdenv, fetchFromGitHub, pkg-config, libX11, libXinerama, imlib2 }:
stdenv.mkDerivation rec {
pname = "bgs";
version = "0.8";
src = fetchurl {
url = "https://github.com/Gottox/bgs/archive/v${version}.tar.gz";
sha256 = "1rw9ingkkpvvr2dixx126ziim67a54r8k49918h1mbph0fjj08n5";
src = fetchFromGitHub {
owner = "Gottox";
repo = "bgs";
rev = "v${version}";
sha256 = "V8GP+xLSiCvaYZt8Bi3/3KlTBaGnMYQUeNCHwH6Ejzo=";
};
nativeBuildInputs = [ pkg-config ];

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, libxcb, xcbutil, xcb-util-cursor }:
{ lib, stdenv, fetchFromGitHub, libxcb, xcbutil, xcb-util-cursor }:
stdenv.mkDerivation rec {
pname = "wmutils-core";
version = "1.5";
src = fetchurl {
url = "https://github.com/wmutils/core/archive/v${version}.tar.gz";
sha256 = "0wk39aq2lrnc0wjs8pv3cigw3lwy2qzaw0v61bwknd5wabm25bvj";
src = fetchFromGitHub {
owner = "wmutils";
repo = "core";
rev = "v${version}";
sha256 = "XPVH7vXlpmUsvNyGKMxLSZnWLnH/J5nGkXizcVqDwzM=";
};
buildInputs = [ libxcb xcbutil xcb-util-cursor ];

View file

@ -1,11 +1,14 @@
{ lib, stdenv, fetchurl, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }:
{ lib, stdenv, fetchFromGitHub, libXi, xorgproto, autoconf, automake, libtool, m4, xlibsWrapper, pkg-config }:
stdenv.mkDerivation rec {
pname = "xinput_calibrator";
version = "0.7.5";
src = fetchurl {
url = "https://github.com/tias/${pname}/archive/v${version}.tar.gz";
sha256 = "d8edbf84523d60f52311d086a1e3ad0f3536f448360063dd8029bf6290aa65e9";
src = fetchFromGitHub {
owner = "tias";
repo = "xinput_calibrator";
rev = "v${version}";
sha256 = "5ZkNw+CKNUcPt1PY5PLzB/OT2wcf5n3UcaQlmMcwRVE=";
};
preConfigure = "./autogen.sh --with-gui=X11";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, openmp ? null }:
{ lib, stdenv, fetchFromGitHub, openmp ? null }:
with lib;
@ -6,9 +6,11 @@ stdenv.mkDerivation {
pname = "b2sum";
version = "unstable-2018-06-11";
src = fetchzip {
url = "https://github.com/BLAKE2/BLAKE2/archive/320c325437539ae91091ce62efec1913cd8093c2.tar.gz";
sha256 = "0agmc515avdpr64bsgv87wby2idm0d3wbndxzkhdfjgzhgv0rb8k";
src = fetchFromGitHub {
owner = "BLAKE2";
repo = "BLAKE2";
rev = "320c325437539ae91091ce62efec1913cd8093c2";
sha256 = "E60M9oP/Sdfg/L3ZxUcDtUXhFz9oP72IybdtVUJh9Sk=";
};
sourceRoot = "source/b2sum";

View file

@ -1,18 +1,20 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "daemonize";
version = "1.7.8";
src = fetchurl {
url = "https://github.com/bmc/daemonize/archive/release-${version}.tar.gz";
sha256 = "0q2c3i3si3k7wfhl6fyckkmkc81yp67pz52p3ggis79p4nczri10";
src = fetchFromGitHub {
owner = "bmc";
repo = "daemonize";
rev = "release-${version}";
sha256 = "1e6LZXf/lK7sB2CbXwOg7LOi0Q8IBQNAa4d7rX0Ej3A=";
};
meta = with lib; {
description = "Runs a command as a Unix daemon";
homepage = "http://software.clapper.org/daemonize/";
license = licenses.bsd3;
homepage = "http://software.clapper.org/daemonize/";
license = licenses.bsd3;
platforms = with platforms; linux ++ freebsd ++ darwin;
};
}

View file

@ -1,12 +1,14 @@
{ fetchurl, lib, stdenv }:
{ fetchFromGitHub, lib, stdenv }:
stdenv.mkDerivation rec {
pname = "symlinks";
version = "1.4.3";
src = fetchurl {
url = "https://github.com/brandt/symlinks/archive/v${version}.tar.gz";
sha256 = "1cihrd3dap52z1msdhhgda7b7wy1l5ysfvyba8yxb3zjk0l5n417";
src = fetchFromGitHub {
owner = "brandt";
repo = "symlinks";
rev = "v${version}";
sha256 = "EMWd7T/k4v1uvXe2QxhyPoQKUpKIUANE9AOwX461FgU=";
};
buildFlags = [ "CC=${stdenv.cc}/bin/cc" ];

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, autoreconfHook, libiconv }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, libiconv }:
stdenv.mkDerivation rec {
pname = "cconv";
version = "0.6.3";
src = fetchurl {
url = "https://github.com/xiaoyjy/cconv/archive/v${version}.tar.gz";
sha256 = "82f46a94829f5a8157d6f686e302ff5710108931973e133d6e19593061b81d84";
src = fetchFromGitHub {
owner = "xiaoyjy";
repo = "cconv";
rev = "v${version}";
sha256 = "RAFl/+I+usUfeG/l17F3ltThK7G4+TekyQGwzQIgeH8=";
};
nativeBuildInputs = [ autoreconfHook ];

View file

@ -1,12 +1,14 @@
{lib, stdenv, fetchurl, qt4, perl, pkg-config }:
{ lib, stdenv, fetchFromGitHub, qt4, perl, pkg-config }:
stdenv.mkDerivation rec {
pname = "qshowdiff";
version = "1.2";
src = fetchurl {
url = "https://github.com/danfis/qshowdiff/archive/v${version}.tar.gz";
sha256 = "027959xbzvi5c2w9y1x122sr5i26k9mvp43banz2wln6gd860n1a";
src = fetchFromGitHub {
owner = "danfis";
repo = "qshowdiff";
rev = "v${version}";
sha256 = "g3AWQ6/LSF59ztzdgNuLi+8d6fFTPiC9z0yXMdPdB5U=";
};
nativeBuildInputs = [ pkg-config ];

View file

@ -1,13 +1,15 @@
{ lib, fetchurl, pythonPackages, libreoffice }:
{ lib, fetchFromGitHub, pythonPackages, libreoffice }:
pythonPackages.buildPythonApplication rec {
pname = "odpdown";
version = "0.4.1";
src = fetchurl {
url = "https://github.com/thorstenb/odpdown/archive/v${version}.tar.gz";
sha256 = "005eecc73c65b9d4c09532547940718a7b308cd565f62a213dfa040827d4d565";
src = fetchFromGitHub {
owner = "thorstenb";
repo = "odpdown";
rev = "v${version}";
sha256 = "r2qbgD9PAalbypt+vjp2YcYggUGPQMEG2FDxMtohqG4=";
};
propagatedBuildInputs = with pythonPackages; [ libreoffice lpod lxml mistune pillow pygments ];