Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fc02a0265ab0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ca449e93ea8c
Choose a head ref
  • 4 commits
  • 5 files changed
  • 3 contributors

Commits on Sep 11, 2017

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    globin Robin Gloster
    Copy the full SHA
    077dd9f View commit details
  2. bitcoin-xt: 0.11F -> 0.11G2

    Lassulus committed Sep 11, 2017
    Copy the full SHA
    f87d4ac View commit details
  3. namecoin: legacy 0.3.80 -> core 0.13.0rc1

    This updates namecoin from a legacy version from about 3 years ago
    (https://github.com/namecoin/namecoin-legacy) to
    the new namecoin-core.
    
    (cherry picked from commit 8bd3664)
    infinisil authored and Lassulus committed Sep 11, 2017
    Copy the full SHA
    31f349d View commit details

Commits on Sep 12, 2017

  1. Merge pull request #29248 from Lassulus/altcoins

    Altcoins: remove obsolete override, update some altcoins
    Mic92 authored Sep 12, 2017
    Copy the full SHA
    ca449e9 View commit details
8 changes: 4 additions & 4 deletions pkgs/applications/altcoins/bitcoin-xt.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, curl
, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, curl, libevent
, withGui }:

with stdenv.lib;
stdenv.mkDerivation rec{

name = "bitcoin" + (toString (optional (!withGui) "d")) + "-xt-" + version;
version = "0.11F";
version = "0.11G2";

src = fetchFromGitHub {
owner = "bitcoinxt";
repo = "bitcoinxt";
rev = "v${version}";
sha256 = "13s5k9mxmlbf49p5hc546x20y5dslfp6g9hi6nw5yja5bngbwr24";
sha256 = "071rljvsabyc9j64v248qfb7zfqpfl84hpsnvlavin235zljq8qs";
};

nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db48 boost zlib
buildInputs = [ openssl db48 boost zlib libevent
miniupnpc utillinux protobuf curl ]
++ optionals withGui [ qt4 qrencode ];

12 changes: 6 additions & 6 deletions pkgs/applications/altcoins/default.nix
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@ rec {
bitcoin-unlimited = callPackage ./bitcoin-unlimited.nix { withGui = true; };
bitcoind-unlimited = callPackage ./bitcoin-unlimited.nix { withGui = false; };

bitcoin-classic = callPackage ./bitcoin-classic.nix { withGui = true; boost = boost162; };
bitcoind-classic = callPackage ./bitcoin-classic.nix { withGui = false; boost = boost162; };
bitcoin-classic = callPackage ./bitcoin-classic.nix { withGui = true; };
bitcoind-classic = callPackage ./bitcoin-classic.nix { withGui = false; };

bitcoin-xt = callPackage ./bitcoin-xt.nix { withGui = true; };
bitcoind-xt = callPackage ./bitcoin-xt.nix { withGui = false; };
@@ -26,17 +26,17 @@ rec {
go-ethereum = callPackage ./go-ethereum.nix { };
go-ethereum-classic = callPackage ./go-ethereum-classic { };

hivemind = callPackage ./hivemind.nix { withGui = true; boost = boost162; };
hivemindd = callPackage ./hivemind.nix { withGui = false; boost = boost162; };
hivemind = callPackage ./hivemind.nix { withGui = true; };
hivemindd = callPackage ./hivemind.nix { withGui = false; };

litecoin = callPackage ./litecoin.nix { withGui = true; };
litecoind = callPackage ./litecoin.nix { withGui = false; };

memorycoin = callPackage ./memorycoin.nix { withGui = true; };
memorycoind = callPackage ./memorycoin.nix { withGui = false; };

namecoin = callPackage ./namecoin.nix { inherit namecoind; };
namecoind = callPackage ./namecoind.nix { };
namecoin = callPackage ./namecoin.nix { withGui = true; };
namecoind = callPackage ./namecoin.nix { withGui = false; };

ethabi = callPackage ./ethabi.nix { };
ethrun = callPackage ./ethrun.nix { };
47 changes: 36 additions & 11 deletions pkgs/applications/altcoins/namecoin.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,45 @@
{ stdenv, db4, boost, openssl, qt4, qmake4Hook, miniupnpc, unzip, namecoind }:
{ stdenv, lib, fetchFromGitHub, openssl, boost, libevent, autoreconfHook, db4, miniupnpc, eject, pkgconfig, qt4, protobuf, libqrencode
, withGui }:

with stdenv.lib;
stdenv.mkDerivation rec {
version = "nc0.13.0rc1";
name = "namecoin" + toString (optional (!withGui) "d") + "-" + version;

name = "namecoin-${version}";
version = namecoind.version;
src = namecoind.src;
src = fetchFromGitHub {
owner = "namecoin";
repo = "namecoin-core";
rev = version;
sha256 = "17zz0rm3js285w2assxp8blfx830rs0ambcsaqqfli9mnaik3m39";
};

buildInputs = [ db4 boost openssl unzip qt4 qmake4Hook miniupnpc ];
nativeBuildInputs = [
autoreconfHook
pkgconfig
];

qmakeFlags = [ "USE_UPNP=-" ];
buildInputs = [
openssl
boost
libevent
db4
miniupnpc
eject
] ++ optionals withGui [
qt4
protobuf
libqrencode
];

installPhase = ''
mkdir -p $out/bin
cp namecoin-qt $out/bin
'';
configureFlags = [
"--with-boost-libdir=${boost.out}/lib"
];

meta = namecoind.meta;
meta = {
description = "Decentralized open source information registration and transfer system based on the Bitcoin cryptocurrency";
homepage = https://namecoin.org;
license = licenses.mit;
maintainers = with maintainers; [ doublec AndersonTorres infinisil ];
platforms = platforms.linux;
};
}
35 changes: 0 additions & 35 deletions pkgs/applications/altcoins/namecoind.nix

This file was deleted.

4 changes: 1 addition & 3 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -13513,9 +13513,7 @@ with pkgs;

schismtracker = callPackage ../applications/audio/schismtracker { };

altcoins = recurseIntoAttrs ( callPackage ../applications/altcoins {
callPackage = newScope { boost = boost155; };
} );
altcoins = recurseIntoAttrs ( callPackage ../applications/altcoins { } );
bitcoin = altcoins.bitcoin;
bitcoin-xt = altcoins.bitcoin-xt;