tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
hashdeep: fix darwin build
Stanisław Pitucha
3 years ago
e814cd5a
cc9c837a
+6
-4
1 changed file
expand all
collapse all
unified
split
pkgs
tools
security
hashdeep
default.nix
+6
-4
pkgs/tools/security/hashdeep/default.nix
reviewed
···
20
20
url = "https://github.com/jessek/hashdeep/commit/6ef69a26126ee4e69a25392fd456b8a66c51dffd.patch";
21
21
sha256 = "sha256-IrqcnrKINeoh56FR25FzSM1YJMkM2yFd/GwOeWGRLFo=";
22
22
})
23
23
+
(fetchpatch {
24
24
+
# Fix the spacing between the string literals and macros, see https://github.com/jessek/hashdeep/pull/385
25
25
+
name = "string-literal-spacing.patch";
26
26
+
url = "https://github.com/jessek/hashdeep/commit/18a6b5d57f7a648d2b7dcc6e50ff00a1e4b05fcc.patch";
27
27
+
sha256 = "sha256-S6hzC8jPtG3ozsvVq5JfAUMwqKxytLGwBAtNYNr6RJ0=";
28
28
+
})
23
29
];
24
30
25
31
nativeBuildInputs = [ autoreconfHook ];
···
36
30
license = licenses.gpl2;
37
31
maintainers = [ maintainers.karantan ];
38
32
platforms = platforms.all;
39
39
-
# Build fails on Darwin:
40
40
-
# > ./xml.h:103:82: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
41
41
-
# > void xmlout(const std::string &tag,const int64_t value){ xmlprintf(tag,"","%"PRId64,value); }
42
42
-
broken = stdenv.isDarwin;
43
33
};
44
34
}