Skip to content

Commit

Permalink
python.pkgs.backports_weakref: init at 1.0rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
abbradar committed Sep 7, 2017
1 parent f1f944f commit c3b9eca
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,28 @@ in {

backports_unittest-mock = callPackage ../development/python-modules/backports_unittest-mock {};

backports_weakref = buildPythonPackage rec {
name = "backports.weakref-${version}";
version = "1.0rc1";

src = pkgs.fetchurl {
url = "mirror://pypi/b/backports.weakref/${name}.tar.gz";
sha256 = "14i8m3lspykdfpzf50grij3z286j9q8f32f2bnwdicv659qvy4w8";
};

buildInputs = with self; [ setuptools_scm ];

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

meta = {
homepage = "https://github.com/pjdelport/backports.weakref";
license = licenses.psfl;
description = "Backport of new features in Python's weakref module";
};
};

babelfish = buildPythonPackage rec {
version = "0.5.5";
name = "babelfish-${version}";
Expand Down

0 comments on commit c3b9eca

Please sign in to comment.