Skip to content

Commit

Permalink
python.pkgs.characteristic: 14.1.0 -> 14.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Jun 7, 2017
1 parent 6696378 commit e249d6e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
22 changes: 22 additions & 0 deletions pkgs/development/python-modules/characteristic/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:

buildPythonPackage rec {
pname = "characteristic";
version = "14.3.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "ded68d4e424115ed44e5c83c2a901a0b6157a959079d7591d92106ffd3ada380";
};

checkInputs = [ pytest ];

meta = {
description = "Python attributes without boilerplate";
homepage = https://characteristic.readthedocs.org;
};
}
15 changes: 1 addition & 14 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3477,20 +3477,7 @@ in {

certifi = callPackage ../development/python-modules/certifi { };

characteristic = buildPythonPackage rec {
name = "characteristic-14.1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/c/characteristic/${name}.tar.gz";
sha256 = "91e254948180678dd69e6143202b4686f2fa47cce136936079bb4d9a3b82419d";
};

buildInputs = with self; [ self.pytest ];

meta = {
description = "Python attributes without boilerplate";
homepage = https://characteristic.readthedocs.org;
};
};
characteristic = callPackage ../development/python-modules/characteristic { };

# This package is no longer actively maintained and can be removed if it becomes broken.
cgkit = buildPythonPackage rec {
Expand Down

0 comments on commit e249d6e

Please sign in to comment.