mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
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.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 {
|
||||
|
Loading…
Reference in New Issue
Block a user