Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mdurl / default.nix
blob4c3bde1d2dd412e715d266cf1d89acacaee5a6f0
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , flit-core
5 , pytestCheckHook
6 , pythonOlder
7 }:
9 buildPythonPackage rec {
10   pname = "mdurl";
11   version = "0.1.2";
12   format = "pyproject";
14   disabled = pythonOlder "3.6";
16   src = fetchFromGitHub {
17     owner = "hukkin";
18     repo = pname;
19     rev = version;
20     hash = "sha256-wxV8DKeTwKpFTUBuGTQXaVHc0eW1//Y+2V8Kgs85TDM=";
21   };
23   nativeBuildInputs = [
24     flit-core
25   ];
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   pythonImportsCheck = [
32     "mdurl"
33   ];
35   meta = with lib; {
36     description = "URL utilities for markdown-it";
37     homepage = "https://github.com/hukkin/mdurl";
38     license = licenses.mit;
39     maintainers = with maintainers; [ fab ];
40   };