summary refs log tree commit diff
path: root/pkgs/development/python-modules/backports_abc/default.nix
blob: ab34d376de08124191a24cad8b068bbdd5ce5865 (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
{ lib
, buildPythonPackage
, fetchPypi
, python
}:

buildPythonPackage rec {
  pname = "backports_abc";
  version = "0.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde";
  };

  checkPhase = ''
    ${python.interpreter} -m unittest discover
  '';

  meta = {
    homepage = https://github.com/cython/backports_abc;
    license = lib.licenses.psfl;
    description = "A backport of recent additions to the 'collections.abc' module";
  };
}