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

33 lines
685 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
# , backports
, unittestCheckHook
}:
buildPythonPackage rec {
pname = "backports.weakref";
version = "1.0.post1";
src = fetchPypi {
inherit pname version;
sha256 = "bc4170a29915f8b22c9e7c4939701859650f2eb84184aee80da329ac0b9825c2";
};
buildInputs = [ setuptools-scm ];
# checkInputs = [ backports ];
# Requires backports package
doCheck = false;
checkInputs = [ unittestCheckHook ];
unittestFlagsArray = [ "tests" ];
meta = with lib; {
description = "Backports of new features in Pythons weakref module";
license = licenses.psfl;
maintainers = with maintainers; [ jyp ];
};
}