Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
764 B
Nix
41 lines
764 B
Nix
{
|
|
buildOctavePackage,
|
|
lib,
|
|
fetchurl,
|
|
struct,
|
|
libpq,
|
|
}:
|
|
|
|
buildOctavePackage rec {
|
|
pname = "database";
|
|
version = "2.4.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/octave/${pname}-${version}.tar.gz";
|
|
sha256 = "1c0n76adi0jw6bx62s04vjyda6kb6ca8lzz2vam43vdy10prcq9p";
|
|
};
|
|
patches = [
|
|
# Fix for octave 8.x
|
|
./c_verror.patch
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
libpq
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
libpq.pg_config
|
|
];
|
|
|
|
requiredOctavePackages = [
|
|
struct
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://gnu-octave.github.io/packages/database/";
|
|
license = lib.licenses.gpl3Plus;
|
|
maintainers = with lib.maintainers; [ KarlJoad ];
|
|
description = "Interface to SQL databases, currently only postgresql using libpq";
|
|
};
|
|
}
|