1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, packaging
5}:
6
7buildPythonPackage rec {
8 pname = "vcver";
9 version = "0.2.12";
10
11 src = fetchFromGitHub {
12 owner = "toumorokoshi";
13 repo = "vcver-python";
14 rev = "c5d8a6f1f0e49bb25f5dbb07312e42cb4da096d6";
15 sha256 = "1cvgs70jf7ki78338zaglaw2dkvyndmx15ybd6k4zqwwsfgk490b";
16 };
17
18 propagatedBuildInputs = [
19 packaging
20 ];
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}