pythonPackages.pyfakefs: init at 3.3

This commit is contained in:
Gabriel Ebner 2018-01-08 14:09:18 +01:00
parent 83a5765b1f
commit 738e97fcca
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, unittest2 }:
buildPythonPackage rec {
version = "3.3";
pname = "pyfakefs";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "19hj5wyi8wy8n8hdj5dwlryl3frrn783y4dsfdxn5mg0lpg9iqg3";
};
propagatedBuildInputs = [ pytest unittest2 ];
meta = with stdenv.lib; {
description = "Fake file system that mocks the Python file system modules";
license = licenses.asl20;
homepage = "http://pyfakefs.org/";
maintainers = with maintainers; [ gebner ];
};
}

View File

@ -285,6 +285,8 @@ in {
py3exiv2 = callPackage ../development/python-modules/py3exiv2 { };
pyfakefs = callPackage ../development/python-modules/pyfakefs {};
pygame = callPackage ../development/python-modules/pygame { };
pygame-git = callPackage ../development/python-modules/pygame/git.nix { };