forked from mirrors/nixpkgs
pythonPackages.exdown: Init at 0.7.1
This commit is contained in:
parent
98ce12a8fe
commit
b3850ac9d4
24
pkgs/development/python-modules/exdown/default.nix
Normal file
24
pkgs/development/python-modules/exdown/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2105,6 +2105,8 @@ in {
|
||||||
|
|
||||||
ewmh = callPackage ../development/python-modules/ewmh { };
|
ewmh = callPackage ../development/python-modules/ewmh { };
|
||||||
|
|
||||||
|
exdown = callPackage ../development/python-modules/exdown { };
|
||||||
|
|
||||||
exchangelib = callPackage ../development/python-modules/exchangelib { };
|
exchangelib = callPackage ../development/python-modules/exchangelib { };
|
||||||
|
|
||||||
execnet = callPackage ../development/python-modules/execnet { };
|
execnet = callPackage ../development/python-modules/execnet { };
|
||||||
|
|
Loading…
Reference in a new issue