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
41 lines
860 B
Nix
41 lines
860 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
precisely,
|
|
gitUpdater,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "funk";
|
|
version = "0.5.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mwilliamson";
|
|
repo = "funk";
|
|
tag = version;
|
|
hash = "sha256-dEq3zyA8rtNt0sui2TfQ3OUSCZ0XDMOdthcqt/QrCsU=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ precisely ];
|
|
|
|
pythonImportsCheck = [ "funk" ];
|
|
|
|
# Disabling tests, they rely on Nose which is outdated and not supported
|
|
doCheck = false;
|
|
|
|
passthru.updateScripts = gitUpdater { };
|
|
|
|
meta = {
|
|
description = "Mocking framework for Python, influenced by JMock";
|
|
homepage = "https://github.com/mwilliamson/funk";
|
|
changelog = "https://github.com/mwilliamson/funk/blob/${src.tag}/NEWS";
|
|
license = lib.licenses.bsd2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|