nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 3fcbb48a3c3597a43e42c39f57de350ecf368f49
parent 11963269e9b2752c04263fcdabc7061412d003b7
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed,  4 Aug 2021 12:23:09 +0300

Move md2gemini to nixpkgs

Diffstat:
Mpkgs/default.nix | 1-
Dpkgs/gemini/md2gemini/default.nix | 36------------------------------------
2 files changed, 0 insertions(+), 37 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -177,7 +177,6 @@ lib.makeScope newScope ( gssg = callPackage ./gemini/gssg { }; gurl = callPackage ./gemini/gurl { }; kineto = callPackage ./gemini/kineto { }; - md2gemini = callPackage ./gemini/md2gemini { }; satellite = callPackage ./gemini/satellite { }; shavit = callPackage ./gemini/shavit { }; telescope = callPackage ./gemini/telescope { }; diff --git a/pkgs/gemini/md2gemini/default.nix b/pkgs/gemini/md2gemini/default.nix @@ -1,36 +0,0 @@ -{ lib, fetchFromGitHub, python3Packages, cjkwrap }: - -python3Packages.buildPythonApplication rec { - pname = "md2gemini"; - version = "1.8.1"; - - src = fetchFromGitHub { - owner = "makeworld-the-better-one"; - repo = pname; - rev = "v${version}"; - hash = "sha256-DQH7/wn6chgsDAclXaqHM37sT2aw6RMByCZ9/UPx0Zc="; - }; - - propagatedBuildInputs = with python3Packages; [ - (mistune.overrideAttrs (old: rec { - pname = "mistune"; - version = "2.0.0a6"; - src = fetchPypi { - inherit pname version; - sha256 = "1jaf4dksxywaprc9svazhxsknjj15hxxji2xsbfx435mdyqwnisp"; - }; - })) - cjkwrap - wcwidth - ]; - - checkInputs = with python3Packages; [ pytestCheckHook ]; - - meta = with lib; { - description = "File converter from Markdown to Gemini"; - inherit (src.meta) homepage; - license = licenses.lgpl3Only; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}