about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/zope_filerepresentation/default.nix
blob: 7aae2a24d6235a8c6965fe42250fdcabc6e89289 (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
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, zope_schema
, zope_interface
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "1mp2r80v6ns92j089l7ngh8l9fk95g2661vkp4vqw7c71irs9g1z";
  };

  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 ];
  };

}