From 1336665f0df4f5aa3e340b1db75442689d8df3f3 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Wed, 14 Apr 2010 19:27:04 +0000 Subject: [PATCH] Typo in path, style svn path=/nixpkgs/trunk/; revision=21077 --- .../drivers/{cups-bnjp => cups-bjnp}/default.nix | 13 ++++++++----- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) rename pkgs/misc/cups/drivers/{cups-bnjp => cups-bjnp}/default.nix (50%) 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 3f2cb4474f4..f752ac84a84 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 24f8c7a2aff..12368ff8fb9 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; };