From fea921d1b595055f01fff22b36d4c3b70c1032d7 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 3 Nov 2021 23:16:19 +0100 Subject: [PATCH 1/2] python3Packages.mrkd: init at 0.2.0 --- .../python-modules/mrkd/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/mrkd/default.nix diff --git a/pkgs/development/python-modules/mrkd/default.nix b/pkgs/development/python-modules/mrkd/default.nix new file mode 100644 index 000000000000..22cd93910d6b --- /dev/null +++ b/pkgs/development/python-modules/mrkd/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildPythonPackage +, fetchPypi +, jinja2 +, mistune +, pygments +, setuptools +}: + +buildPythonPackage rec { + pname = "mrkd"; + version = "0.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "456f8c1be99da268554b29c6b5383532e58119def5a65d85270bc6a0ecc26aaf"; + }; + + propagatedBuildInputs = [ jinja2 mistune pygments setuptools ]; + + pythonImportsCheck = [ "mrkd" ]; + + meta = with lib; { + description = "Write man pages using Markdown, and convert them to Roff or HTML"; + homepage = "https://github.com/refi64/mrkd"; + license = licenses.bsd2; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0f110ba95290..c421404b8ba7 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3321,6 +3321,8 @@ with pkgs; mq-cli = callPackage ../tools/system/mq-cli { }; + mrkd = with python3Packages; toPythonApplication mrkd; + n2n = callPackage ../tools/networking/n2n { }; nextdns = callPackage ../applications/networking/nextdns { }; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3d77ef2598c6..efd683cc3a66 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4874,6 +4874,8 @@ in { mpyq = callPackage ../development/python-modules/mpyq { }; + mrkd = callPackage ../development/python-modules/mrkd { }; + ms-cv = callPackage ../development/python-modules/ms-cv { }; msal = callPackage ../development/python-modules/msal { }; From 9ee3139d4ec9f6a1a846dbab510c4ff2a30099fa Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 3 Nov 2021 21:56:17 +0100 Subject: [PATCH 2/2] clightning: 0.10.1 -> 0.10.2 --- pkgs/applications/blockchains/clightning/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/blockchains/clightning/default.nix b/pkgs/applications/blockchains/clightning/default.nix index 0cec96b7a6ee..04f3c1fcbc84 100644 --- a/pkgs/applications/blockchains/clightning/default.nix +++ b/pkgs/applications/blockchains/clightning/default.nix @@ -16,15 +16,15 @@ , zlib }: let - py3 = python3.withPackages (p: [ p.Mako ]); + py3 = python3.withPackages (p: [ p.Mako p.mrkd ]); in stdenv.mkDerivation rec { pname = "clightning"; - version = "0.10.1"; + version = "0.10.2"; src = fetchurl { url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip"; - sha256 = "9271e9e89d60332b66afedbf8d6eab2a4a488782ab400ee1f60667d73c5a9a96"; + sha256 = "3c9dcb686217b2efe0e988e90b95777c4591e3335e259e01a94af87e0bf01809"; }; nativeBuildInputs = [ autogen autoconf automake gettext libtool pkg-config py3 unzip which ];