mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
42 lines
810 B
Nix
42 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 ];
|
|
};
|
|
}
|