mediawiki: 1.42.4 -> 1.43.0 (#369641)
[NixPkgs.git] / pkgs / by-name / ve / vermin / package.nix
blob3fe5c63dc1e89b6a715eb1aa344e912faf145013
2   lib,
3   fetchFromGitHub,
4   python3Packages,
5 }:
6 python3Packages.buildPythonApplication rec {
7   pname = "vermin";
8   version = "1.6.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "netromdk";
13     repo = "vermin";
14     rev = "v${version}";
15     hash = "sha256-lgxYQ8oNfa0+8BUf3nRv0fcNLP+UATjz733ms3pM6gQ=";
16   };
18   build-system = with python3Packages; [
19     setuptools
20   ];
22   dependencies = with python3Packages; [
23     setuptools
24   ];
26   checkPhase = ''
27     runHook preCheck
28     python runtests.py
29     runHook postCheck
30   '';
32   meta = {
33     mainProgram = "vermin";
34     homepage = "https://github.com/netromdk/vermin";
35     changelog = "https://github.com/netromdk/vermin/releases/tag/v${version}";
36     description = "Concurrently detect the minimum Python versions needed to run code";
37     license = lib.licenses.mit;
38     maintainers = [ lib.maintainers.fidgetingbits ];
39   };