mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
42 lines
1.3 KiB
Nix
42 lines
1.3 KiB
Nix
{ lib, stdenv , fetchFromGitHub
|
|
, pkg-config, autoreconfHook
|
|
, db5, openssl, boost, zlib, miniupnpc, libevent
|
|
, protobuf, util-linux, qt4, qrencode
|
|
, withGui }:
|
|
|
|
with lib;
|
|
stdenv.mkDerivation rec {
|
|
name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version;
|
|
version = "1.14.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dogecoin";
|
|
repo = "dogecoin";
|
|
rev = "v${version}";
|
|
sha256 = "1gw46q63mjzwvb17ck6p1bap2xpdrap08szw2kjhasa3yvd5swyy";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
buildInputs = [ openssl db5 openssl util-linux
|
|
protobuf boost zlib miniupnpc libevent ]
|
|
++ optionals withGui [ qt4 qrencode ];
|
|
|
|
configureFlags = [ "--with-incompatible-bdb"
|
|
"--with-boost-libdir=${boost.out}/lib" ]
|
|
++ optionals withGui [ "--with-gui" ];
|
|
|
|
meta = {
|
|
description = "Wow, such coin, much shiba, very rich";
|
|
longDescription = ''
|
|
Dogecoin is a decentralized, peer-to-peer digital currency that
|
|
enables you to easily send money online. Think of it as "the
|
|
internet currency."
|
|
It is named after a famous Internet meme, the "Doge" - a Shiba Inu dog.
|
|
'';
|
|
homepage = "http://www.dogecoin.com/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ edwtjo offline ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|