mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Adding libatomic_ops
This commit is contained in:
parent
1b0b0c4257
commit
5e64a8360f
28
pkgs/development/libraries/libatomic_ops/default.nix
Normal file
28
pkgs/development/libraries/libatomic_ops/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{stdenv, fetchurl}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="libatomic_ops";
|
||||
version="7.4.2";
|
||||
name="${baseName}-${version}";
|
||||
hash="1pdm0h1y7bgkczr8byg20r6bq15m5072cqm5pny4f9crc9gn3yh4";
|
||||
url="http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-7.4.2.tar.gz";
|
||||
sha256="1pdm0h1y7bgkczr8byg20r6bq15m5072cqm5pny4f9crc9gn3yh4";
|
||||
};
|
||||
buildInputs = [
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''A library for semi-portable access to hardware-provided atomic memory update operations'';
|
||||
license = stdenv.lib.licenses.gpl2Plus ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -0,0 +1 @@
|
||||
url https://github.com/ivmai/libatomic_ops/wiki/Download
|
@ -4965,6 +4965,8 @@ let
|
||||
|
||||
libassuan2_1 = callPackage ../development/libraries/libassuan/git.nix { };
|
||||
|
||||
libatomic_ops = callPackage ../development/libraries/libatomic_ops {};
|
||||
|
||||
libav = libav_10;
|
||||
libav_all = callPackage ../development/libraries/libav { };
|
||||
inherit (libav_all) libav_0_8 libav_9 libav_10;
|
||||
|
Loading…
Reference in New Issue
Block a user