Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

libchipcard: Don't hardcode version

This is to make sure that we don't get a disparity between the version
in sources.nix and the version in the package expression and it's mostly
to get the package expression in par with aqbanking and gwenhywfar.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @goibhniu

aszlig cc909ff4 191f4c21

+4 -3
+4 -3
pkgs/development/libraries/aqbanking/libchipcard.nix
··· 1 { stdenv, fetchurl, pkgconfig, gwenhywfar, pcsclite, zlib }: 2 3 - stdenv.mkDerivation rec { 4 name = "libchipcard-${version}"; 5 - version = "5.0.4"; 6 7 src = let 8 - inherit ((import ./sources.nix).libchipcard) sha256 releaseId; 9 qstring = "package=02&release=${releaseId}&file=01"; 10 mkURLs = map (base: "${base}/sites/download/download.php?${qstring}"); 11 in fetchurl {
··· 1 { stdenv, fetchurl, pkgconfig, gwenhywfar, pcsclite, zlib }: 2 3 + let 4 + inherit ((import ./sources.nix).libchipcard) sha256 releaseId version; 5 + in stdenv.mkDerivation rec { 6 name = "libchipcard-${version}"; 7 + inherit version; 8 9 src = let 10 qstring = "package=02&release=${releaseId}&file=01"; 11 mkURLs = map (base: "${base}/sites/download/download.php?${qstring}"); 12 in fetchurl {