@@ -0,0 +1,29 @@
1+{ stdenv, buildDunePackage, fetchFromGitHub, autoconf }:
2+
3+buildDunePackage rec {
4+ pname = "setcore";
5+ version = "1.0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "UnixJunkie";
9+ repo = pname;
10+ rev = "v${version}";
11+ sha256 = "1yn660gxk2ccp7lbdq9v6pjz1c3pm08s9dl9k9l5492ld6bx8fxc";
12+ };
13+
14+ preConfigure = ''
15+ autoconf
16+ autoheader
17+ '';
18+
19+ buildInputs = [ autoconf ];
20+
21+ hardeningDisable = stdenv.lib.optional stdenv.isDarwin "strictoverflow";
22+
23+ meta = with stdenv.lib; {
24+ inherit (src.meta) homepage;
25+ description = "Generalized map/reduce for multicore computing";
26+ maintainers = [ maintainers.bcdarwin ];
27+ license = licenses.lgpl2;
28+ };
29+}