1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 17:25:11 +00:00
nixpkgs/pkgs/development/python-modules/backports_abc/default.nix
2017-12-31 12:02:50 +01:00

25 lines
520 B
Nix

{ 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";
};
}