blob: 7c0ae0552ce6231ca6e1048a9bad0e55f9d11d16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "mdurl";
version = "0.1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "hukkin";
repo = "mdurl";
rev = version;
hash = "sha256-wxV8DKeTwKpFTUBuGTQXaVHc0eW1//Y+2V8Kgs85TDM=";
};
nativeBuildInputs = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mdurl" ];
meta = {
description = "URL utilities for markdown-it";
homepage = "https://github.com/hukkin/mdurl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}
|