about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zope-filerepresentation/default.nix
blob: b9f394f03d2f05eba151987a3a5e628e3ff3ce3a (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
26
27
28
29
30
31
32
33
{
  lib,
  buildPythonPackage,
  fetchPypi,
  zope-schema,
  zope-interface,
}:

buildPythonPackage rec {
  pname = "zope.filerepresentation";
  version = "6.0";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-yza3iGspJ2+C8WhfPykfQjXmac2HhdFHQtRl0Trvaqs=";
  };

  propagatedBuildInputs = [
    zope-interface
    zope-schema
  ];

  checkPhase = ''
    cd src/zope/filerepresentation && python -m unittest
  '';

  meta = with lib; {
    homepage = "https://zopefilerepresentation.readthedocs.io/";
    description = "File-system Representation Interfaces";
    license = licenses.zpl20;
    maintainers = with maintainers; [ goibhniu ];
  };
}