git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #104085 from kmein/feature/urlwatch
652c2cdLassulus
pkgs/development/python-modules/pyee/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ buildPythonPackage, fetchPypi, lib, vcversioner, pytestrunner, mock, pytest, pytest-asyncio, pytest-trio, twisted, zipp, pyparsing, pyhamcrest, futures, attrs, stdenv, isPy27 }:
2+
3+buildPythonPackage rec {
4+ pname = "pyee";
5+ version = "7.0.4";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "105n8jzw8vy6cm8mm5sm86mwyaqqr8zjh8w9xvcb7hp29p0vrihm";
10+ };
11+
12+ buildInputs = [
13+ vcversioner
14+ ];
15+
16+ checkInputs = [
17+ mock
18+ pyhamcrest
19+ pytest
20+ pytest-asyncio
21+ pytest-trio
22+ pytestrunner
23+ twisted
24+ ] ++ stdenv.lib.optional isPy27 [
25+ attrs
26+ futures
27+ pyparsing
28+ zipp
29+ ];
30+
31+ meta = {
32+ description = "A port of Node.js's EventEmitter to python";
33+ homepage = "https://github.com/jfhbrook/pyee";
34+ license = lib.licenses.mit;
35+ maintainers = with lib.maintainers; [ kmein ];
36+ };
37+}
pkgs/development/python-modules/pyppeteer/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ buildPythonPackage, fetchPypi, lib, urllib3, pyee, tqdm, websockets, appdirs }:
2+
3+buildPythonPackage rec {
4+ pname = "pyppeteer";
5+ version = "0.2.2";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "1s92izan7s3iffc85wpwi1qv9brcq0rlfqyi84wmpmg1dxk64g0m";
10+ };
11+
12+ # tests want to write to /homeless-shelter
13+ doCheck = false;
14+
15+ propagatedBuildInputs = [
16+ appdirs
17+ websockets
18+ tqdm
19+ pyee
20+ urllib3
21+ ];
22+
23+ meta = {
24+ description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
25+ homepage = "https://github.com/pyppeteer/pyppeteer";
26+ license = lib.licenses.mit;
27+ maintainers = with lib.maintainers; [ kmein ];
28+ };
29+}
pkgs/tools/networking/urlwatch/default.nix+4−3
@@ -2,13 +2,13 @@
2
2
3python3Packages.buildPythonApplication rec {
3python3Packages.buildPythonApplication rec {
4 name = "urlwatch-${version}";
4 name = "urlwatch-${version}";
5− version = "2.19";
5+ version = "2.21";
6
6
7 src = fetchFromGitHub {
7 src = fetchFromGitHub {
8 owner = "thp";
8 owner = "thp";
9 repo = "urlwatch";
9 repo = "urlwatch";
10 rev = version;
10 rev = version;
11− sha256 = "05vxs0x8gnsv2r9cy0brqny1y5jnj2mw11lqc8lqahx84xcs2m00";
11+ sha256 = "1s6bigkwymxdp9bkgvwg3lbf465i6k8kmak2w7czf4mhwavcfq63";
12 };
12 };
13
13
14 propagatedBuildInputs = with python3Packages; [
14 propagatedBuildInputs = with python3Packages; [
@@ -20,12 +20,13 @@ python3Packages.buildPythonApplication rec {
20 pycodestyle
20 pycodestyle
21 pyyaml
21 pyyaml
22 requests
22 requests
23+ pyppeteer
23 ];
24 ];
24
25
25 meta = with stdenv.lib; {
26 meta = with stdenv.lib; {
26 description = "A tool for monitoring webpages for updates";
27 description = "A tool for monitoring webpages for updates";
27 homepage = "https://thp.io/2008/urlwatch/";
28 homepage = "https://thp.io/2008/urlwatch/";
28 license = licenses.bsd3;
29 license = licenses.bsd3;
29− maintainers = with maintainers; [ tv ];
30+ maintainers = with maintainers; [ kmein tv ];
30 };
31 };
31}
32}
pkgs/top-level/python-packages.nix+4
@@ -4984,6 +4984,8 @@ in {
4984
4984
4985 pyechonest = callPackage ../development/python-modules/pyechonest { };
4985 pyechonest = callPackage ../development/python-modules/pyechonest { };
4986
4986
4987+ pyee = callPackage ../development/python-modules/pyee { };
4988+
4987 pyelftools = callPackage ../development/python-modules/pyelftools { };
4989 pyelftools = callPackage ../development/python-modules/pyelftools { };
4988
4990
4989 pyemd = callPackage ../development/python-modules/pyemd { };
4991 pyemd = callPackage ../development/python-modules/pyemd { };
@@ -5344,6 +5346,8 @@ in {
5344
5346
5345 pypoppler = callPackage ../development/python-modules/pypoppler { };
5347 pypoppler = callPackage ../development/python-modules/pypoppler { };
5346
5348
5349+ pyppeteer = callPackage ../development/python-modules/pyppeteer { };
5350+
5347 pyprind = callPackage ../development/python-modules/pyprind { };
5351 pyprind = callPackage ../development/python-modules/pyprind { };
5348
5352
5349 pyprof2calltree = callPackage ../development/python-modules/pyprof2calltree { };
5353 pyprof2calltree = callPackage ../development/python-modules/pyprof2calltree { };