python3Packages.mdurl: init at 0.1.0
This commit is contained in:
parent
45528dec8b
commit
baac79cc39
41
pkgs/development/python-modules/mdurl/default.nix
Normal file
41
pkgs/development/python-modules/mdurl/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mdurl";
|
||||
version = "0.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hukkin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-AVklWFc4o5R9OzS9BYauuOaxm89P/Ih5l3Vrb2P0El4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mdurl"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "URL utilities for markdown-it";
|
||||
homepage = "https://github.com/hukkin/mdurl";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4761,6 +4761,8 @@ in {
|
||||
|
||||
mdit-py-plugins = callPackage ../development/python-modules/mdit-py-plugins { };
|
||||
|
||||
mdurl = callPackage ../development/python-modules/mdurl { };
|
||||
|
||||
MDP = callPackage ../development/python-modules/mdp { };
|
||||
|
||||
measurement = callPackage ../development/python-modules/measurement { };
|
||||
|
Loading…
Reference in New Issue
Block a user