Merge pull request #138536 from Stunkymonkey/misc-github

This commit is contained in:
Sandro 2021-10-12 14:48:04 +02:00 committed by GitHub
commit 157bbb0a4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 10 deletions

View File

@ -1,15 +1,27 @@
{ lib, stdenv, fetchurl, sconsPackages, libX11, pkg-config
, libusb1, boost, glib, dbus-glib }:
{ lib
, stdenv
, fetchFromGitHub
, sconsPackages
, libX11
, pkg-config
, libusb1
, boost
, glib
, dbus-glib
}:
let
version = "0.8.8";
in stdenv.mkDerivation {
in
stdenv.mkDerivation {
pname = "xboxdrv";
inherit version;
src = fetchurl {
url = "https://github.com/xboxdrv/xboxdrv/archive/v${version}.tar.gz";
sha256 = "0jx2wqmc7602dxyj19n3h8x0cpy929h7c0h39vcc5rf0q74fh3id";
src = fetchFromGitHub {
owner = "xboxdrv";
repo = "xboxdrv";
rev = "v${version}";
hash = "sha256-R0Bt4xfzQA1EmZbf7lcWLwSSUayf5Y711QhlAVhiLrY=";
};
makeFlags = [ "PREFIX=$(out)" ];

View File

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, makeWrapper, coreutils, ncurses }:
{ lib, stdenv, fetchFromGitHub, makeWrapper, coreutils, ncurses }:
stdenv.mkDerivation rec {
pname = "pipes";
version = "1.3.0";
src = fetchurl {
url = "https://github.com/pipeseroni/pipes.sh/archive/v${version}.tar.gz";
sha256 = "09m4alb3clp3rhnqga5v6070p7n1gmnwp2ssqhq87nf2ipfpcaak";
src = fetchFromGitHub {
owner = "pipeseroni";
repo = "pipes.sh";
rev = "v${version}";
hash = "sha256-856OWlnNiGB20571TJg7Ayzcz4r6NqdW5DMDiim09mc=";
};
nativeBuildInputs = [ makeWrapper ];