diff --git a/pkgs/misc/cups/drivers/cups-bnjp/default.nix b/pkgs/misc/cups/drivers/cups-bnjp/default.nix new file mode 100644 index 000000000000..3f2cb4474f4b --- /dev/null +++ b/pkgs/misc/cups/drivers/cups-bnjp/default.nix @@ -0,0 +1,15 @@ +args: with args; +stdenv.mkDerivation { + name = "cups-bjnp"; + + src = fetchurl { + url = mirror://sourceforge/project/cups-bjnp/cups-bjnp/0.5.4/cups-bjnp-0.5.4.tar.gz; + sha256 = "1q5npis0jgs44yvczrr6pz87glk1d9lv3vr2s4nqrk3l0q4xplf6"; + }; + + preConfigure = ''configureFlags="--with-cupsbackenddir=$out/lib/cups/backend"''; + + buildInputs = [cups]; + + meta = { }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ce81238ee134..81ca13756edf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7882,6 +7882,10 @@ let inherit fetchurl stdenv zlib libjpeg libpng libtiff pam openssl; }; + cupsBjnp = import ../misc/cups/drivers/cups-bnjp { + inherit fetchurl stdenv cups; + }; + dblatex = import ../misc/tex/dblatex { inherit fetchurl stdenv python libxslt tetex; };