File tree 2 files changed +36
-0
lines changed
development/libraries/openpa
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change @@ -9506,6 +9506,8 @@ with pkgs;
9506
9506
openjpeg_2_1 = callPackage ../development/libraries/openjpeg/2.1.nix { };
9507
9507
openjpeg = openjpeg_2_1;
9508
9508
9509
+ openpa = callPackage ../development/libraries/openpa { };
9510
+
9509
9511
opensaml-cpp = callPackage ../development/libraries/opensaml-cpp { };
9510
9512
9511
9513
openscenegraph = callPackage ../development/libraries/openscenegraph { };
You can’t perform that action at this time.
0 commit comments