Merge branch 'staging-next' into staging
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, fetchFromGitHub
|
||||
, gcc-arm-embedded, libftdi1, libusb-compat-0_1, pkg-config
|
||||
, python, pythonPackages
|
||||
, python3
|
||||
}:
|
||||
|
||||
with lib;
|
||||
@@ -21,15 +21,16 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
gcc-arm-embedded pkg-config
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libftdi1
|
||||
libusb-compat-0_1
|
||||
python
|
||||
pythonPackages.intelhex
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = ''
|
||||
# Prevent calling out to `git' to generate a version number:
|
||||
substituteInPlace src/Makefile \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
gtest,
|
||||
python,
|
||||
python3,
|
||||
boost
|
||||
}:
|
||||
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
checkInputs = [ boost python ];
|
||||
checkInputs = [ boost python3 ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, popt, avahi, pkg-config, python, gtk2, runCommand
|
||||
{ lib, stdenv, fetchFromGitHub, popt, avahi, pkg-config, python3, gtk2, runCommand
|
||||
, gcc, autoconf, automake, which, procps, libiberty_static
|
||||
, runtimeShell
|
||||
, sysconfDir ? "" # set this parameter to override the default value $out/etc
|
||||
@@ -18,7 +18,7 @@ let
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [popt avahi pkg-config python gtk2 autoconf automake which procps libiberty_static];
|
||||
buildInputs = [popt avahi pkg-config python3 gtk2 autoconf automake which procps libiberty_static];
|
||||
preConfigure =
|
||||
''
|
||||
export CPATH=$(ls -d ${gcc.cc}/lib/gcc/*/${gcc.cc.version}/plugin/include)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{lib, stdenv, fetchurl, python}:
|
||||
{lib, stdenv, fetchurl, python3}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "doclifter-2.19";
|
||||
@@ -6,7 +6,9 @@ stdenv.mkDerivation {
|
||||
url = "http://www.catb.org/~esr/doclifter/doclifter-2.19.tar.gz";
|
||||
sha256 = "1as6z7mdjrrkw2kism41q5ybvyzvwcmj9qzla2fz98v9f4jbj2s2";
|
||||
};
|
||||
buildInputs = [ python ];
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user