biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dpcontracts / default.nix
blobdf423a46d478409cc2bfa0eb0a758feac4ed0f26
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6 }:
8 buildPythonPackage rec {
9   pname = "dpcontracts";
10   version = "unstable-2018-11-20";
11   format = "setuptools";
12   disabled = pythonOlder "3.5";
14   src = fetchFromGitHub {
15     owner = "deadpixi";
16     repo = "contracts";
17     rev = "45cb8542272c2ebe095c6efb97aa9407ddc8bf3c";
18     hash = "sha256-FygJPXo7lZ9tlfqY6KmPJ3PLIilMGLBr3013uj9hCEs=";
19   };
21   # package does not have any tests
22   doCheck = false;
24   pythonImportsCheck = [ "dpcontracts" ];
26   meta = with lib; {
27     description = "Provides a collection of decorators that makes it easy to write software using contracts";
28     homepage = "https://github.com/deadpixi/contracts";
29     license = licenses.lgpl3Only;
30     maintainers = with maintainers; [ gador ];
31   };