Merge master into staging-next
This commit is contained in:
@@ -93,6 +93,12 @@ python3Packages.buildPythonApplication {
|
||||
# https://bugs.launchpad.net/hplip/+bug/1788706
|
||||
# https://bugs.launchpad.net/hplip/+bug/1787289
|
||||
./image-processor.patch
|
||||
|
||||
# HPLIP's getSystemPPDs() function relies on searching for PPDs below common FHS
|
||||
# paths, and hp-setup crashes if none of these paths actually exist (which they
|
||||
# don't on NixOS). Add the equivalent NixOS path, /var/lib/cups/path/share.
|
||||
# See: https://github.com/NixOS/nixpkgs/issues/21796
|
||||
./hplip-3.20.11-nixos-cups-ppd-search-path.patch
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
From: Bryan Gardiner <bog@khumba.net>
|
||||
Date: Sat, 9 Jan 2021 16:51:20 -0800
|
||||
Subject: [PATCH] Add NixOS CUPS PPD search path.
|
||||
|
||||
---
|
||||
base/g.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/base/g.py b/base/g.py
|
||||
index f73e23f..758f339 100644
|
||||
--- a/base/g.py
|
||||
+++ b/base/g.py
|
||||
@@ -283,7 +283,7 @@ prop.max_message_len = 8192
|
||||
prop.max_message_read = 65536
|
||||
prop.read_timeout = 90
|
||||
|
||||
-prop.ppd_search_path = '/usr/share;/usr/local/share;/usr/lib;/usr/local/lib;/usr/libexec;/opt;/usr/lib64'
|
||||
+prop.ppd_search_path = '/var/lib/cups/path/share;/usr/share;/usr/local/share;/usr/lib;/usr/local/lib;/usr/libexec;/opt;/usr/lib64'
|
||||
prop.ppd_search_pattern = 'HP-*.ppd.*'
|
||||
prop.ppd_download_url = 'http://www.linuxprinting.org/ppd-o-matic.cgi'
|
||||
prop.ppd_file_suffix = '-hpijs.ppd'
|
||||
--
|
||||
2.29.2
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, SDL2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "oberon-risc-emu";
|
||||
version = "unstable-2020-08-18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pdewacht";
|
||||
repo = "oberon-risc-emu";
|
||||
rev = "26c8ac5737c71811803c87ad51f1f0d6e62e71fe";
|
||||
sha256 = "1iriix3cfcpbkjb5xjb4ysh592xppgprwzp3b6qhwcx44g7kdvxq";
|
||||
};
|
||||
|
||||
buildInputs = [ SDL2 ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv risc $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/pdewacht/oberon-risc-emu/";
|
||||
description = "Emulator for the Oberon RISC machine";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ siraben ];
|
||||
};
|
||||
}
|
||||
@@ -309,6 +309,18 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
ryu1kn.partial-diff = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "partial-diff";
|
||||
publisher = "ryu1kn";
|
||||
version = "1.4.1";
|
||||
sha256 = "1r4kg4slgxncdppr4fn7i5vfhvzcg26ljia2r97n6wvwn8534vs9";
|
||||
};
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
scala-lang.scala = buildVscodeMarketplaceExtension {
|
||||
mktplcRef = {
|
||||
name = "scala";
|
||||
|
||||
Reference in New Issue
Block a user