3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.exdown: Init at 0.7.1

This commit is contained in:
Sandro Jäckel 2021-01-30 23:15:18 +01:00
parent 98ce12a8fe
commit b3850ac9d4
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder
, importlib-metadata }:
buildPythonPackage rec {
pname = "exdown";
version = "0.7.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-vnSso3vmPIjX7JX+NwoxguwqwPHocJACeh5H0ClPcUI=";
};
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
pythonImportsCheck = [ "exdown" ];
meta = with lib; {
description = "Extract code blocks from markdown";
homepage = "https://github.com/nschloe/exdown";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View file

@ -2105,6 +2105,8 @@ in {
ewmh = callPackage ../development/python-modules/ewmh { };
exdown = callPackage ../development/python-modules/exdown { };
exchangelib = callPackage ../development/python-modules/exchangelib { };
execnet = callPackage ../development/python-modules/execnet { };