Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
782 B
Nix
33 lines
782 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "dpcontracts";
|
|
version = "unstable-2018-11-20";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deadpixi";
|
|
repo = "contracts";
|
|
rev = "45cb8542272c2ebe095c6efb97aa9407ddc8bf3c";
|
|
hash = "sha256-FygJPXo7lZ9tlfqY6KmPJ3PLIilMGLBr3013uj9hCEs=";
|
|
};
|
|
|
|
# package does not have any tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "dpcontracts" ];
|
|
|
|
meta = with lib; {
|
|
description = "Provides a collection of decorators that makes it easy to write software using contracts";
|
|
homepage = "https://github.com/deadpixi/contracts";
|
|
license = licenses.lgpl3Only;
|
|
maintainers = with maintainers; [ gador ];
|
|
};
|
|
}
|