3
0
Fork 0
forked from mirrors/nixpkgs

boehm-gc, libatomic_ops: 7.6.0 -> 7.6.2

These should be the same version.
This commit is contained in:
Will Dietz 2017-12-26 18:03:12 -06:00
parent efc17cbd21
commit c4e9e4a4d6
2 changed files with 9 additions and 11 deletions

View file

@ -3,11 +3,15 @@
}:
stdenv.mkDerivation rec {
name = "boehm-gc-7.6.0";
name = "boehm-gc-${version}";
version = "7.6.2";
src = fetchurl {
url = http://www.hboehm.info/gc/gc_source/gc-7.6.0.tar.gz;
sha256 = "143x7g0d0k6250ai6m2x3l4y352mzizi4wbgrmahxscv2aqjhjm1";
urls = [
"http://www.hboehm.info/gc/gc_source/gc-${version}.tar.gz"
"https://github.com/ivmai/bdwgc/releases/download/v${version}/gc-${version}.tar.gz"
];
sha256 = "07nli9hgdzc09qzw169sn7gchkrn5kqgyniv2rspcy1xaq2j04dx";
};
buildInputs = [ libatomic_ops ];
@ -25,12 +29,6 @@ stdenv.mkDerivation rec {
# Don't run the native `strip' when cross-compiling.
dontStrip = hostPlatform != buildPlatform;
postInstall =
''
mkdir -p $out/share/doc
mv $out/share/gc $out/share/doc/gc
'';
enableParallelBuilding = true;
meta = {

View file

@ -2,14 +2,14 @@
stdenv.mkDerivation rec {
name = "libatomic_ops-${version}";
version = "7.6.0";
version = "7.6.2";
src = fetchurl {
urls = [
"http://www.ivmaisoft.com/_bin/atomic_ops/libatomic_ops-${version}.tar.gz"
"https://github.com/ivmai/libatomic_ops/releases/download/v${version}/libatomic_ops-${version}.tar.gz"
];
sha256 ="03ylfr29g9zc0r6b6axz3i68alj5qmxgzknxwam3jlx0sz8hcb4f";
sha256 ="1rif2hjscq5mh639nsnjhb90c01gnmy1sbmj6x6hsn1xmpnj95r1";
};
nativeBuildInputs = stdenv.lib.optionals stdenv.isCygwin [ autoconf automake libtool ];