3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/unixODBC/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 lines
512 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "unixODBC";
version = "2.3.7";
src = fetchurl {
url = "ftp://ftp.unixodbc.org/pub/unixODBC/${pname}-${version}.tar.gz";
sha256 = "0xry3sg497wly8f7715a7gwkn2k36bcap0mvzjw74jj53yx6kwa5";
};
configureFlags = [ "--disable-gui" "--sysconfdir=/etc" ];
meta = with stdenv.lib; {
description = "ODBC driver manager for Unix";
homepage = http://www.unixodbc.org/;
license = licenses.lgpl2;
platforms = platforms.unix;
};
}