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
43 lines
810 B
Nix
43 lines
810 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
wheel,
|
|
django,
|
|
mock,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "mock-django";
|
|
version = "0.6.10";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dcramer";
|
|
repo = "mock-django";
|
|
rev = "1168d3255e0d67fbf74a9c71feaccbdafef59d21";
|
|
hash = "sha256-sjrRxu2754sAaXZRlAfBhdLFHqiRlqPHVPQv4B6oArw=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
dependencies = [
|
|
django
|
|
mock
|
|
];
|
|
|
|
# tests are based on nose, which is not supported anymore
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Simple library for mocking certain Django behavior, such as the ORM";
|
|
homepage = "https://github.com/dcramer/mock-django";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ defelo ];
|
|
};
|
|
}
|