uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/development/libraries/openpa/default.nix
Normal file
33
pkgs/development/libraries/openpa/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchurl, file }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openpa";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://trac.mpich.org/projects/${pname}/raw-attachment/wiki/Downloads/${pname}-${version}.tar.gz";
|
||||
sha256 = "0flyi596hm6fv7xyw2iykx3s65p748s62bf15624xcnwpfrh8ncy";
|
||||
};
|
||||
|
||||
prePatch = "substituteInPlace configure --replace /usr/bin/file ${file}/bin/file";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Atomic primitives for high performance, concurrent software";
|
||||
homepage = "https://trac.mpich.org/projects/openpa";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ leenaars ];
|
||||
platforms = lib.platforms.unix;
|
||||
longDescription = ''
|
||||
OPA (or sometimes OpenPA or Open Portable Atomics) is an
|
||||
open source library intended to provide a consistent C API for performing
|
||||
atomic operations on a variety of platforms. The main goal of the project is to
|
||||
enable the portable usage of atomic operations in concurrent software.
|
||||
Developers of client software can worry about implementing and improving their
|
||||
concurrent algorithms instead of fiddling with inline assembly syntax and
|
||||
learning new assembly dialects in order improve or maintain application
|
||||
portability.
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue