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
-
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libiconv }:
2
3
stdenv.mkDerivation rec {
4
pname = "readstat";
···
11
sha256 = "sha256-4lRJgZPB2gfaQ9fQKvDDpGhy1eDNT/nT1QmeZlCmCis=";
12
};
13
0
0
0
0
0
0
0
14
nativeBuildInputs = [ pkg-config autoreconfHook ];
15
16
buildInputs = [ libiconv ];
···
22
description = "Command-line tool (+ C library) for converting SAS, Stata, and SPSS files";
23
license = lib.licenses.mit;
24
maintainers = with lib.maintainers; [ swflint ];
0
25
};
26
}
···
1
+
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, libiconv }:
2
3
stdenv.mkDerivation rec {
4
pname = "readstat";
···
11
sha256 = "sha256-4lRJgZPB2gfaQ9fQKvDDpGhy1eDNT/nT1QmeZlCmCis=";
12
};
13
14
+
patches = [
15
+
(fetchpatch {
16
+
url = "https://github.com/WizardMac/ReadStat/commit/211c342a1cfe46fb7fb984730dd7a29ff4752f35.patch";
17
+
hash = "sha256-nkaEgusylVu7NtzSzBklBuOnqO9qJPovf0qn9tTE6ls=";
18
+
})
19
+
];
20
+
21
nativeBuildInputs = [ pkg-config autoreconfHook ];
22
23
buildInputs = [ libiconv ];
···
29
description = "Command-line tool (+ C library) for converting SAS, Stata, and SPSS files";
30
license = lib.licenses.mit;
31
maintainers = with lib.maintainers; [ swflint ];
32
+
platforms = lib.platforms.all;
33
};
34
}