Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 758 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub 2, packaging 3, fetchurl, python }: 4 5buildPythonPackage rec { 6 pname = "vcver"; 7 version = "0.2.10"; 8 9 src = fetchFromGitHub { 10 owner = "toumorokoshi"; 11 repo = "vcver-python"; 12 rev = "c5d8a6f1f0e49bb25f5dbb07312e42cb4da096d6"; 13 sha256 = "1cvgs70jf7ki78338zaglaw2dkvyndmx15ybd6k4zqwwsfgk490b"; 14 }; 15 16 propagatedBuildInputs = [ 17 packaging 18 ]; 19 20 # circular dependency on test tool uranium https://pypi.org/project/uranium/ 21 doCheck = false; 22 23 pythonImportTests = [ "vcver" ]; 24 25 meta = with lib; { 26 description = "Reference Implementation of vcver"; 27 homepage = "https://github.com/toumorokoshi/vcver-python"; 28 license = licenses.mit; 29 maintainers = with maintainers; [ hexa ]; 30 }; 31}