1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 packaging,
6}:
7
8buildPythonPackage rec {
9 pname = "vcver";
10 version = "0.2.12";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "toumorokoshi";
15 repo = "vcver-python";
16 rev = "c5d8a6f1f0e49bb25f5dbb07312e42cb4da096d6";
17 sha256 = "1cvgs70jf7ki78338zaglaw2dkvyndmx15ybd6k4zqwwsfgk490b";
18 };
19
20 propagatedBuildInputs = [ packaging ];
21
22 # circular dependency on test tool uranium https://pypi.org/project/uranium/
23 doCheck = false;
24
25 pythonImportsCheck = [ "vcver" ];
26
27 meta = with lib; {
28 description = "Reference Implementation of vcver";
29 homepage = "https://github.com/toumorokoshi/vcver-python";
30 license = licenses.mit;
31 maintainers = with maintainers; [ hexa ];
32 };
33}