diff --git a/pkgs/misc/cups/drivers/cups-bnjp/default.nix b/pkgs/misc/cups/drivers/cups-bjnp/default.nix similarity index 50% rename from pkgs/misc/cups/drivers/cups-bnjp/default.nix rename to pkgs/misc/cups/drivers/cups-bjnp/default.nix index 3f2cb4474f4b..f752ac84a84b 100644 --- a/pkgs/misc/cups/drivers/cups-bnjp/default.nix +++ b/pkgs/misc/cups/drivers/cups-bjnp/default.nix @@ -1,9 +1,10 @@ -args: with args; -stdenv.mkDerivation { - name = "cups-bjnp"; +{stdenv, fetchurl, cups}: + +stdenv.mkDerivation rec { + name = "cups-bjnp-0.5.4"; src = fetchurl { - url = mirror://sourceforge/project/cups-bjnp/cups-bjnp/0.5.4/cups-bjnp-0.5.4.tar.gz; + url = "mirror://sourceforge/cups-bjnp/${name}.tar.gz"; sha256 = "1q5npis0jgs44yvczrr6pz87glk1d9lv3vr2s4nqrk3l0q4xplf6"; }; @@ -11,5 +12,7 @@ stdenv.mkDerivation { buildInputs = [cups]; - meta = { }; + meta = { + homepage = http://cups-bjnp.sourceforge.net; + }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24f8c7a2aff8..12368ff8fb91 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8958,7 +8958,7 @@ let inherit fetchurl stdenv rpm cpio zlib; }; - cupsBjnp = import ../misc/cups/drivers/cups-bnjp { + cupsBjnp = import ../misc/cups/drivers/cups-bjnp { inherit fetchurl stdenv cups; };