Skip to content

Commit

Permalink
pythonPackages.pyupdate: init at 0.2.16
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Nov 22, 2018
1 parent a2412a7 commit f225548
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/development/python-modules/pyupdate/default.nix
@@ -0,0 +1,28 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, requests }:

buildPythonPackage rec {
pname = "pyupdate";
version = "0.2.16";

src = fetchPypi {
inherit pname version;
sha256 = "1p4zpjvwy6h9kr0dp80z5k04s14r9f75jg9481gpx8ygxj0l29bi";
};

propagatedBuildInputs = [ requests ];

# As of 0.2.16, pyupdate is intimately tied to Home Assistant which is py3 only
disabled = !isPy3k;

# no tests
doCheck = false;

meta = with stdenv.lib; {
# This description is terrible, but it's what upstream uses.
description = "Package to update stuff";
homepage = https://github.com/ludeeus/pyupdate;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -3403,6 +3403,8 @@ in {

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

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

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

mmpython = callPackage ../development/python-modules/mmpython { };
Expand Down

0 comments on commit f225548

Please sign in to comment.