Skip to content

Commit 10126e1

Browse files
leenaarsjoachifm
authored andcommittedJun 27, 2017
openpa: init at 1.0.4 (#26033)
1 parent 767a8b2 commit 10126e1

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
 

Diff for: ‎pkgs/development/libraries/openpa/default.nix

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{ stdenv, fetchurl, file }:
2+
3+
stdenv.mkDerivation rec {
4+
pname = "openpa";
5+
version = "1.0.4";
6+
name = "${pname}-${version}";
7+
8+
src = fetchurl {
9+
url = "https://trac.mpich.org/projects/${pname}/raw-attachment/wiki/Downloads/${name}.tar.gz";
10+
sha256 = "0flyi596hm6fv7xyw2iykx3s65p748s62bf15624xcnwpfrh8ncy";
11+
};
12+
13+
prePatch = ''substituteInPlace configure --replace /usr/bin/file ${file}/bin/file'';
14+
15+
doCheck = true;
16+
17+
meta = {
18+
description = "Atomic primitives for high performance, concurrent software";
19+
homepage = "https://trac.mpich.org/projects/openpa";
20+
license = stdenv.lib.licenses.mit;
21+
maintainers = with stdenv.lib.maintainers; [ leenaars ];
22+
platforms = with stdenv.lib.platforms; linux;
23+
longDescription = ''
24+
OPA (or sometimes OpenPA or Open Portable Atomics) is an
25+
open source library intended to provide a consistent C API for performing
26+
atomic operations on a variety of platforms. The main goal of the project is to
27+
enable the portable usage of atomic operations in concurrent software.
28+
Developers of client software can worry about implementing and improving their
29+
concurrent algorithms instead of fiddling with inline assembly syntax and
30+
learning new assembly dialects in order improve or maintain application
31+
portability.
32+
'';
33+
};
34+
}

Diff for: ‎pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -9506,6 +9506,8 @@ with pkgs;
95069506
openjpeg_2_1 = callPackage ../development/libraries/openjpeg/2.1.nix { };
95079507
openjpeg = openjpeg_2_1;
95089508

9509+
openpa = callPackage ../development/libraries/openpa { };
9510+
95099511
opensaml-cpp = callPackage ../development/libraries/opensaml-cpp { };
95109512

95119513
openscenegraph = callPackage ../development/libraries/openscenegraph { };

0 commit comments

Comments
 (0)
Please sign in to comment.