tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
readstat: fix build with clang 16
Weijia Wang
2 years ago
7cf44d8b
32da89a1
+9
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
math
readstat
default.nix
+9
-1
pkgs/applications/science/math/readstat/default.nix
···
1
1
-
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv }:
1
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libiconv }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
pname = "readstat";
···
11
11
sha256 = "sha256-4lRJgZPB2gfaQ9fQKvDDpGhy1eDNT/nT1QmeZlCmCis=";
12
12
};
13
13
14
14
+
patches = [
15
15
+
(fetchpatch {
16
16
+
url = "https://github.com/WizardMac/ReadStat/commit/211c342a1cfe46fb7fb984730dd7a29ff4752f35.patch";
17
17
+
hash = "sha256-nkaEgusylVu7NtzSzBklBuOnqO9qJPovf0qn9tTE6ls=";
18
18
+
})
19
19
+
];
20
20
+
14
21
nativeBuildInputs = [ pkg-config autoreconfHook ];
15
22
16
23
buildInputs = [ libiconv ];
···
22
29
description = "Command-line tool (+ C library) for converting SAS, Stata, and SPSS files";
23
30
license = lib.licenses.mit;
24
31
maintainers = with lib.maintainers; [ swflint ];
32
32
+
platforms = lib.platforms.all;
25
33
};
26
34
}