mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 22:20:30 +03:00
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 ];
|
||
|
};
|
||
|
}
|