nixpkgs/pkgs/development/python-modules/pyfakefs/default.nix

22 lines
586 B
Nix
Raw Normal View History

2018-01-08 05:09:18 -08:00
{ stdenv, buildPythonPackage, fetchPypi, pytest, unittest2 }:
buildPythonPackage rec {
2018-04-04 11:14:31 -07:00
version = "3.4.1";
2018-01-08 05:09:18 -08:00
pname = "pyfakefs";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-04-04 11:14:31 -07:00
sha256 = "96f1d008ae6cc4d9866dd674ee852748a11c67784f1f369221a5fd2750cc0883";
2018-01-08 05:09:18 -08:00
};
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 ];
};
}