diff options
author | aszlig <aszlig@nix.build> | 2018-04-27 17:32:27 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-04-27 18:34:57 +0200 |
commit | cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f (patch) | |
tree | e36c1a8e2b8a7bcdf2d633b7e3e9a1e7beb64ef0 /pkgs/development/libraries/aqbanking | |
parent | 191f4c210a87b2eddeabd098cd57a85fadfa0ee2 (diff) | |
download | nixpkgs-cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f.tar nixpkgs-cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f.tar.gz nixpkgs-cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f.tar.bz2 nixpkgs-cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f.tar.lz nixpkgs-cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f.tar.xz nixpkgs-cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f.tar.zst nixpkgs-cc909ff4dd02bcd7e632b7174d2599fa8f00dd7f.zip |
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
Diffstat (limited to 'pkgs/development/libraries/aqbanking')
-rw-r--r-- | pkgs/development/libraries/aqbanking/libchipcard.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/aqbanking/libchipcard.nix b/pkgs/development/libraries/aqbanking/libchipcard.nix index 1ac00c3fe88..9a0b70e0d97 100644 --- a/pkgs/development/libraries/aqbanking/libchipcard.nix +++ b/pkgs/development/libraries/aqbanking/libchipcard.nix @@ -1,11 +1,12 @@ { 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}"; - version = "5.0.4"; + inherit version; src = let - inherit ((import ./sources.nix).libchipcard) sha256 releaseId; qstring = "package=02&release=${releaseId}&file=01"; mkURLs = map (base: "${base}/sites/download/download.php?${qstring}"); in fetchurl { |