stripe-cli: 1.23.3 -> 1.23.5 (#375724)
[NixPkgs.git] / pkgs / development / python-modules / verspec / default.nix
blob2da64ec5f653ac0c5a38644a0050995a1643c715
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pretend,
6   pytestCheckHook,
7   pythonOlder,
8 }:
10 buildPythonPackage rec {
11   pname = "verspec";
12   version = "0.1.0";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-xFBMppeyBWzbS/pxIUYfWg6BgJJVtBwD3aS6gjY3wB4=";
20   };
22   nativeCheckInputs = [
23     pretend
24     pytestCheckHook
25   ];
27   disabledTestPaths = [
28     # Import fail
29     "test/test_specifiers.py"
30   ];
32   pythonImportsCheck = [ "verspec" ];
34   meta = with lib; {
35     description = "Flexible version handling";
36     homepage = "https://github.com/jimporter/verspec";
37     changelog = "https://github.com/jimporter/averspec/releases/tag/v${version}";
38     license = with licenses; [
39       bsd2 # and
40       asl20
41     ];
42     maintainers = [ ];
43   };