blob: 3cf1095b20eab52a778da7260b2e5f86a26b7c41 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "mock-open";
version = "1.4.0";
format = "setuptools";
# no tests in PyPI tarball
src = fetchFromGitHub {
owner = "nivbend";
repo = pname;
rev = "v${version}";
sha256 = "0qlz4y8jqxsnmqg03yp9f87rmnjrvmxm5qvm6n1218gm9k5dixbm";
};
meta = with lib; {
homepage = "https://github.com/nivbend/mock-open";
description = "Better mock for file I/O";
license = licenses.mit;
};
}
|