mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
32 lines
656 B
Nix
32 lines
656 B
Nix
|
{ buildOctavePackage
|
||
|
, lib
|
||
|
, fetchurl
|
||
|
, struct
|
||
|
, postgresql
|
||
|
}:
|
||
|
|
||
|
buildOctavePackage rec {
|
||
|
pname = "database";
|
||
|
version = "2.4.4";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
||
|
sha256 = "1c0n76adi0jw6bx62s04vjyda6kb6ca8lzz2vam43vdy10prcq9p";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
postgresql
|
||
|
];
|
||
|
|
||
|
requiredOctavePackages = [
|
||
|
struct
|
||
|
];
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage = "https://octave.sourceforge.io/database/index.html";
|
||
|
license = licenses.gpl3Plus;
|
||
|
maintainers = with maintainers; [ KarlJoad ];
|
||
|
description = "Interface to SQL databases, currently only postgresql using libpq";
|
||
|
};
|
||
|
}
|