summaryrefslogtreecommitdiff
path: root/pkgs/by-name/li/librdata/package.nix
blob: fc077f2fb698af2038b8aa74a1afb24405a96e25 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  stdenv,
  fetchFromGitHub,
  autoreconfHook,
}:

stdenv.mkDerivation {
  pname = "librdata";
  version = "0-unstable-2023-10-03";

  src = fetchFromGitHub {
    owner = "WizardMac";
    repo = "librdata";
    rev = "33bd276ecb0bbcd8997ccc71a544149b3da0d940";
    hash = "sha256-njTlKK++v7IbaRWJw8hWpE4tXh8MjPRijacqor7Rwes=";
  };

  patches = [ ./gettext-fix.patch ];

  strictDeps = true;

  nativeBuildInputs = [ autoreconfHook ];

  meta = {
    description = "Read and write R data frames from C";
    homepage = "https://github.com/WizardMac/librdata";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tomasajt ];
    platforms = lib.platforms.all;
  };
}