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
This commit is contained in:
parent
191f4c210a
commit
cc909ff4dd
|
@ -1,11 +1,12 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, gwenhywfar, pcsclite, zlib }:
|
{ stdenv, fetchurl, pkgconfig, gwenhywfar, pcsclite, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
inherit ((import ./sources.nix).libchipcard) sha256 releaseId version;
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
name = "libchipcard-${version}";
|
name = "libchipcard-${version}";
|
||||||
version = "5.0.4";
|
inherit version;
|
||||||
|
|
||||||
src = let
|
src = let
|
||||||
inherit ((import ./sources.nix).libchipcard) sha256 releaseId;
|
|
||||||
qstring = "package=02&release=${releaseId}&file=01";
|
qstring = "package=02&release=${releaseId}&file=01";
|
||||||
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
|
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
|
||||||
in fetchurl {
|
in fetchurl {
|
||||||
|
|
Loading…
Reference in New Issue