about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyfakefs/default.nix
blob: 25c286414a3c6f53414bf2953aa2f7fccde1d64d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ];
  };
}