profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/jurraca/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

jurraca/marketplace 1

A marketplace simulator leveraging Elixir's GenServer abstractions.

jurraca/boltzmann 0

A python script computing the entropy of Bitcoin transactions and the linkability of their inputs and outputs.

jurraca/clarinet-flake 0

a Nix flake for building Clarinet v15.04 on linux

jurraca/cryptoeconomics-FR-translation 0

French translation of Eric Voskuil's Cryptoeconomics

jurraca/grpc-elixir 0

The Elixir implementation of gRPC

jurraca/gun 0

HTTP/1.1, HTTP/2 and Websocket client for Erlang/OTP.

jurraca/ipfs-docs-v2 0

📚IPFS documentation platform (beta)

push eventjurraca/kazarma-fork

julienurraca@gmail.com

commit sha be5693e6e95acae59445227281ed60af4ca2ca09

add docker expr

view details

push time in 2 days

push eventjurraca/kazarma-fork

julienurraca@gmail.com

commit sha 8102b0ca9e442251130b1727d166d39bdc8c75b4

add docker expr, organize

view details

push time in 4 days

create barnchjurraca/kazarma-fork

branch : ngi-flake

created branch time in 7 days

created repositoryjurraca/kazarma-fork

Fork of https://gitlab.com/kazarma/kazarma/-/tree/master

created time in 7 days

pull request commentngi-nix/namecoin-core

Namecoin Core flake

Thanks :+1: . I'm trying to stay away from adding multiple files, just because I think it'll make it less likely for the upstream project to incorporate the flake. wdyt?

jurraca

comment created time in 9 days

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha e2aaa9816f4c47098235c7f9705b9b56624e3b83

fix module expression

view details

push time in 9 days

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha 1071d2369066b136aedbed804048b84833ed104b

fix optional env var and qt out dir

view details

push time in 10 days

Pull request review commentngi-nix/namecoin-core

Namecoin Core flake

-{ lib, stdenv, fetchFromGitHub, nix-gitignore, pkg-config, autoreconfHook }:+{+  lib,+  stdenv,+  fetchFromGitHub,+  nix-gitignore,+  pkg-config,+  autoreconfHook,+  boost,+  python3,+  libtool,+  libevent,+  zeromq,+  hexdump,+  db48,+  sqlite,+  libupnp,+  libnatpmp,+  libsForQt5,+  withWallet ? false,+  withGui ? true,+  withUpnp ? false,+  withNatpmp ? false,+  withHardening ? true+  }: +with lib; let   additionalFilters = [ "*.nix" "nix/" "build/" ];   filterSource = nix-gitignore.gitignoreSource additionalFilters;   cleanedSource = filterSource ../.;-in stdenv.mkDerivation {+  desktop = builtins.fetchurl {+    url = "https://raw.githubusercontent.com/bitcoin-core/packaging/0.21/debian/bitcoin-qt.desktop";+    sha256 = "0cpna0nxcd1dw3nnzli36nf9zj28d2g9jf5y0zl9j18lvanvniha";+  };++  inherit (libsForQt5.qt5) qtbase qttools qmake wrapQtAppsHook;+in stdenv.mkDerivation rec {   pname = "namecoin-core";   # TODO: find a better way to determine version, but it doesn't seem to be version controlled   version = "0.21.1";    src = cleanedSource; -  nativeBuildInputs = [ pkg-config autoreconfHook ];-  buildInputs = [ ];+  nativeBuildInputs = [ pkg-config autoreconfHook boost wrapQtAppsHook ]+    ++ optionals (withGui) [ wrapQtAppsHook qmake ];++  buildInputs = [ python3 libtool libevent zeromq hexdump qtbase qttools ]+    ++ optionals (withWallet) [ db48 sqlite ]+    ++ optionals (withUpnp) [ libupnp ]+    ++ optionals (withNatpmp) [ libnatpmp];++    configureFlags = [ ]+      ++ optionals (!withGui) [ " --without-gui " ]+      ++ optionals (!withWallet) [ "--disable-wallet" "--without-bdb" ]+      ++ optionals (withUpnp) [ "--with-miniupnpc" "--enable-upnp-default" ]+      ++ optionals (withNatpmp) [ "--with-natpmp" "--enable-natpmp-default" ]+      ++ optionals (!withHardening) [ "--disable-hardening" ] +      ++ optionals withGui [+        "--with-gui=qt5"+        "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"+      ];++    configurePhase = ''+        ./autogen.sh+        ./configure --enable-cxx --without-bdb --disable-shared --prefix=${db48}/bin --with-boost=${boost} --with-boost-libdir=${boost}/lib --prefix=$out+    '';++    QT_PLUGIN_PATH = "${qtbase}/${qtbase.qtPluginPrefix}";

nice. I was trying to get those four env vars declared as part of a phase where i could do optionals withGui [ '' QT_PLUGIN_PATH = ... ;'', '' LRELEASE = ... '' ] Is that an anti pattern or ?

jurraca

comment created time in 10 days

PullRequestReviewEvent

Pull request review commentngi-nix/namecoin-core

Namecoin Core flake

-{ lib, stdenv, fetchFromGitHub, nix-gitignore, pkg-config, autoreconfHook }:+{+  lib,+  stdenv,+  fetchFromGitHub,+  nix-gitignore,+  pkg-config,+  autoreconfHook,+  boost,+  python3,+  libtool,+  libevent,+  zeromq,+  hexdump,+  db48,+  sqlite,+  libupnp,+  libnatpmp,+  libsForQt5,+  withWallet ? false,+  withGui ? true,+  withUpnp ? false,+  withNatpmp ? false,+  withHardening ? true+  }: +with lib; let   additionalFilters = [ "*.nix" "nix/" "build/" ];   filterSource = nix-gitignore.gitignoreSource additionalFilters;   cleanedSource = filterSource ../.;-in stdenv.mkDerivation {+  desktop = builtins.fetchurl {+    url = "https://raw.githubusercontent.com/bitcoin-core/packaging/0.21/debian/bitcoin-qt.desktop";+    sha256 = "0cpna0nxcd1dw3nnzli36nf9zj28d2g9jf5y0zl9j18lvanvniha";+  };++  inherit (libsForQt5.qt5) qtbase qttools qmake wrapQtAppsHook;+in stdenv.mkDerivation rec {   pname = "namecoin-core";   # TODO: find a better way to determine version, but it doesn't seem to be version controlled   version = "0.21.1";    src = cleanedSource; -  nativeBuildInputs = [ pkg-config autoreconfHook ];-  buildInputs = [ ];+  nativeBuildInputs = [ pkg-config autoreconfHook boost wrapQtAppsHook ]+    ++ optionals (withGui) [ wrapQtAppsHook qmake ];++  buildInputs = [ python3 libtool libevent zeromq hexdump qtbase qttools ]+    ++ optionals (withWallet) [ db48 sqlite ]+    ++ optionals (withUpnp) [ libupnp ]+    ++ optionals (withNatpmp) [ libnatpmp];++    configureFlags = [ ]+      ++ optionals (!withGui) [ " --without-gui " ]+      ++ optionals (!withWallet) [ "--disable-wallet" "--without-bdb" ]+      ++ optionals (withUpnp) [ "--with-miniupnpc" "--enable-upnp-default" ]+      ++ optionals (withNatpmp) [ "--with-natpmp" "--enable-natpmp-default" ]+      ++ optionals (!withHardening) [ "--disable-hardening" ] +      ++ optionals withGui [+        "--with-gui=qt5"+        "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"+      ];++    configurePhase = ''+        ./autogen.sh+        ./configure --enable-cxx --without-bdb --disable-shared --prefix=${db48}/bin --with-boost=${boost} --with-boost-libdir=${boost}/lib --prefix=$out+    '';++    QT_PLUGIN_PATH = "${qtbase}/${qtbase.qtPluginPrefix}";

Couldn't figure out a way to get these evaluated correctly as optionals with withGui

jurraca

comment created time in 11 days

PullRequestReviewEvent

Pull request review commentngi-nix/namecoin-core

Namecoin Core flake

       apps.namecoin-core = utils.lib.mkApp { drv = packages.namecoin-core; };       hydraJobs = { inherit (legacyPackages) namecoin-core; };       checks = { inherit (legacyPackages) namecoin-core; };+      nixosModules.namecoin-core =+        { ... }:+          {+            nixpkgs.overlays = [ self.overlay ];++            systemd.packages = [ defaultPackage ];++            systemd.services.namecoin-core = {+              path = [ defaultPackage ];+              description = "Namecoin Core daemon.";++              serviceConfig = {+                Type = "simple";+                ExecStart = "${defaultPackage}/bin/namecoin-core --without-gui";

How would I pass withGui = false here?

jurraca

comment created time in 11 days

PullRequestReviewEvent

push eventjurraca/livebook

jurraca

commit sha e9be18095f208a7a8fe893b04e4189735af81fb1

fix README mardown

view details

push time in 14 days

create barnchjurraca/livebook

branch : flaked

created branch time in 14 days

fork jurraca/livebook

Interactive and collaborative code notebooks for Elixir - made with Phoenix LiveView

fork in 14 days

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha 42bf829a97cd6480f8489e5d045871b6c196965b

move build options to inputs, move wrapQtAppsHook to optionals

view details

push time in 14 days

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha a23da80dcd07957d7cb43fcf6ff0a45c21855018

add systemd module

view details

julienurraca@gmail.com

commit sha 196ad31b76313be7451ed59b900a6df5c51cc8c4

remove separate overlay file and merge into flake.nix

view details

push time in 14 days

push eventjurraca/clarinet-flake

jurraca

commit sha 2468bad22281d6a3b6d4dd7075d01e85c16b9ad0

fix spacing

view details

push time in 15 days

push eventjurraca/clarinet-flake

julienurraca@gmail.com

commit sha 747716c91db1c1384246fe2c304bd0d9eb1c48ae

a Nix flake for building Clarinet v15.04 on linux

view details

julienurraca@gmail.com

commit sha dd7c7dd8a4d66ae12b8211fd98d59353aadcb969

add README

view details

push time in 15 days

create barnchjurraca/clarinet-flake

branch : main

created branch time in 15 days

created repositoryjurraca/clarinet-flake

a Nix flake for building Clarinet v15.04 on linux

created time in 15 days

pull request commentngi-nix/namecoin-core

Namecoin Core flake

Yea, we can. Unfortunately I'm visiting family until the weekend. Sunday or monday?

I think I'm good actually! This last commit builds Qt successfully. Moving on to cleanup / container / module stuff.

jurraca

comment created time in 15 days

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha 472d7a9a6dfe169a25428b803509d577c21d0864

build Qt correctly with qmake; the env vars should be conditional on the withGui value, but I couldn't figure it out so they are loaded globally.

view details

push time in 15 days

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha 3b6cf4b7da6c68650c8c710b3a27ce1820a3bc80

setup Qt; works, except for a missing plugin

view details

push time in 17 days

pull request commentngi-nix/namecoin-core

Namecoin Core flake

so I'm kinda dead in the water with the Qt part of this @jonringer . Could we pair at some point?

jurraca

comment created time in 18 days

push eventjurraca/scribe

julienurraca@gmail.com

commit sha 21502ec5d8e73150c2109a5f197d857256766ca1

add base lang option

view details

push time in 20 days

PR opened ngi-nix/namecoin-core

Namecoin Core flake

Adds a Nix flake for Namecoin-Core.

TODO:

  • [ X ] core packages build
  • [ ] GUI builds
  • [ X ] devShell
  • [ ] module for namecoind
  • [ ] add tests
  • [ ] figure out versioning

Notes:

  • I used the bitcoin nix expression to figure out the qt stuff but haven't managed to build it.
  • the versioning more or less matches bitcoin, might have to just hardcode it.
  • the core packages built fine until I added some of this qt stuff, but the error is that it can't find core cpp libraries. Stuck on this.
+72 -4

0 comment

1 changed file

pr created time in a month

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha ecf640aed6882cf5bbe1326913331b3626444ced

add qt things, break compile again

view details

push time in a month

push eventjurraca/namecoin-core

julienurraca@gmail.com

commit sha 681ed46de32c92c125f6cce2db4934081261b86b

move flake to template

view details

push time in a month