https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
18 lines
449 B
Nix
18 lines
449 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libdbi";
|
|
version = "0.9.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/libdbi/${pname}-${version}.tar.gz";
|
|
sha256 = "00s5ra7hdlq25iv23nwf4h1v3kmbiyzx0v9bhggjiii4lpf6ryys";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "http://libdbi.sourceforge.net/";
|
|
description = "DB independent interface to DB";
|
|
license = licenses.lgpl21;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|