Merge master into staging-next
This commit is contained in:
@@ -13,7 +13,10 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [ libsoundio lame ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to record audio-enabled screencasts of your terminal, for the web";
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, which, libxslt, libxml2, docbook_xml_dtd_412, docbook_xsl, glib, imagemagick, darwin }:
|
||||
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, which
|
||||
, libxslt, libxml2, docbook_xml_dtd_412, docbook_xsl, glib, imagemagick
|
||||
, Foundation
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6.0";
|
||||
@@ -23,7 +25,8 @@ stdenv.mkDerivation rec {
|
||||
docbook_xsl
|
||||
];
|
||||
|
||||
buildInputs = [ glib imagemagick ] ++ lib.optional stdenv.isDarwin [ darwin.apple_sdk.frameworks.ApplicationServices ];
|
||||
buildInputs = [ glib imagemagick ]
|
||||
++ lib.optional stdenv.isDarwin Foundation;
|
||||
|
||||
patches = [ ./xmlcatalog_patch.patch ];
|
||||
|
||||
|
||||
35
pkgs/tools/misc/minipro/default.nix
Normal file
35
pkgs/tools/misc/minipro/default.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, pkg-config
|
||||
, libusb1
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "minipro";
|
||||
version = "0.5";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "DavidGriffith";
|
||||
repo = "minipro";
|
||||
rev = version;
|
||||
sha256 = "sha256-Hyj2LyY7W8opjigH+QLHHbDyelC0LMgGgdN+u3nNoJc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libusb1 ];
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"UDEV_DIR=$(out)/lib/udev"
|
||||
"COMPLETIONS_DIR=$(out)/share/bash-completion/completions"
|
||||
"PKG_CONFIG=${pkg-config}/bin/${pkg-config.targetPrefix}pkg-config"
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.com/DavidGriffith/minipro";
|
||||
description = "An open source program for controlling the MiniPRO TL866xx series of chip programmers";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.bmwalters ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user