Merge master into staging-next
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bravia-tv";
|
||||
version = "1.0.1";
|
||||
version = "1.0.5";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dcnielsen90";
|
||||
repo = "python-bravia-tv";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jlrin5qw3ny2r961y5divd5xa9giprxhhxdc84rjlq9qdmnsk68";
|
||||
sha256 = "17nd0v3pgmbfafi3vypls9jnpg4dk7wyh7fl7gpzcnkq1f8pf087";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
34
pkgs/development/python-modules/citeproc-py/default.nix
Normal file
34
pkgs/development/python-modules/citeproc-py/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, git
|
||||
, lxml
|
||||
, rnc2rng
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "citeproc-py";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "00aaff50jy4j0nakdzq9258z1gzrac9baarli2ymgspj88jg5968";
|
||||
};
|
||||
|
||||
buildInputs = [ rnc2rng ];
|
||||
|
||||
propagatedBuildInputs = [ lxml ];
|
||||
|
||||
checkInputs = [ nose git ];
|
||||
checkPhase = "nosetests tests";
|
||||
doCheck = false; # seems to want a Git repository, but fetchgit with leaveDotGit also fails
|
||||
pythonImportsCheck = [ "citeproc" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/brechtm/citeproc-py";
|
||||
description = "Citation Style Language (CSL) parser for Python";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
37
pkgs/development/python-modules/duecredit/default.nix
Normal file
37
pkgs/development/python-modules/duecredit/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, contextlib2
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, vcrpy
|
||||
, citeproc-py
|
||||
, requests
|
||||
, setuptools
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "duecredit";
|
||||
version = "0.8.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1yxd8579pakrfhq0hls0iy37nxllsm8y33na220g08znibrp7ix0";
|
||||
};
|
||||
|
||||
# bin/duecredit requires setuptools at runtime
|
||||
propagatedBuildInputs = [ citeproc-py requests setuptools six ];
|
||||
|
||||
checkInputs = [ contextlib2 pytest pytestCheckHook vcrpy ];
|
||||
disabledTests = [ "test_io" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/duecredit/duecredit";
|
||||
description = "Simple framework to embed references in code";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, ffmpeg
|
||||
, ffmpeg_3
|
||||
, future
|
||||
, pytest
|
||||
, pytestrunner
|
||||
@@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
(
|
||||
substituteAll {
|
||||
src = ./ffmpeg-location.patch;
|
||||
inherit ffmpeg;
|
||||
ffmpeg = ffmpeg_3;
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
||||
, ffmpeg, async-timeout }:
|
||||
, ffmpeg_3, async-timeout }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ha-ffmpeg";
|
||||
@@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
sha256 = "230f2fa990c9caaff1c67c2227b64756062248083849651a9bec7d599e519a42";
|
||||
};
|
||||
|
||||
buildInputs = [ ffmpeg ];
|
||||
buildInputs = [ ffmpeg_3 ];
|
||||
|
||||
propagatedBuildInputs = [ async-timeout ];
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
, pytest
|
||||
, numpy
|
||||
, isPy3k
|
||||
, ffmpeg
|
||||
, ffmpeg_3
|
||||
, futures
|
||||
, enum34
|
||||
}:
|
||||
@@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
checkInputs = [ pytest psutil ] ++ stdenv.lib.optionals isPy3k [
|
||||
imageio-ffmpeg ffmpeg
|
||||
imageio-ffmpeg ffmpeg_3
|
||||
];
|
||||
propagatedBuildInputs = [ numpy pillow ] ++ stdenv.lib.optionals (!isPy3k) [
|
||||
futures
|
||||
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ html5lib ];
|
||||
propagatedBuildInputs = [ six beautifulsoup4 pkgs.ffmpeg pkgs.swftools pkgs.rtmpdump ];
|
||||
propagatedBuildInputs = [ six beautifulsoup4 pkgs.ffmpeg_3 pkgs.swftools pkgs.rtmpdump ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Discover presentations and/or create a movie consisting of slides and audio track from an infoq url";
|
||||
|
||||
31
pkgs/development/python-modules/iterm2/default.nix
Normal file
31
pkgs/development/python-modules/iterm2/default.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, protobuf
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "iterm2";
|
||||
version = "1.14";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "089pln3c41n6dyh91hw9gy6mpm9s663lpmdc4gamig3g6pfmbsk4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf websockets ];
|
||||
|
||||
# The tests require pyobjc. We can't use pyobjc because at
|
||||
# time of writing the pyobjc derivation is disabled on python 3.
|
||||
# iterm2 won't build on python 2 because it depends on websockets
|
||||
# which is disabled below python 3.3.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "iterm2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface to iTerm2's scripting API";
|
||||
homepage = "http://github.com/gnachman/iTerm2";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ jeremyschlatter ];
|
||||
};
|
||||
}
|
||||
@@ -1,16 +1,22 @@
|
||||
{ buildPythonPackage, fetchPypi, lib, ipaddress, isPy3k }:
|
||||
{ buildPythonPackage, isPy27, fetchFromGitHub, lib, ipaddress }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "piccata";
|
||||
version = "1.0.1";
|
||||
disabled = isPy3k;
|
||||
version = "2.0.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "45f6c98c2ea809d445040888117f99bc3ee843490d86fecc5805ff5ea41508f7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NordicSemiconductor";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0pn842jcf2czjks5dphivgp1s7wiifqiv93s0a89h0wxafd6pbsr";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ipaddress ];
|
||||
propagatedBuildInputs = [
|
||||
ipaddress
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "piccata" ];
|
||||
|
||||
meta = {
|
||||
description = "Simple CoAP (RFC7252) toolkit";
|
||||
|
||||
27
pkgs/development/python-modules/rnc2rng/default.nix
Normal file
27
pkgs/development/python-modules/rnc2rng/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python
|
||||
, rply
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rnc2rng";
|
||||
version = "2.6.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1kmp3iwxxyzjsd47j2sprd47ihhkwhb3yydih3af5bbfq0ibh1w8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ rply ];
|
||||
|
||||
checkPhase = "${python.interpreter} test.py";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/djc/rnc2rng";
|
||||
description = "Compact to regular syntax conversion library for RELAX NG schemata";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
@@ -33,7 +33,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
buildInputs = with pkgs; [ alsaLib ffmpeg libv4l sqlite libvpx ];
|
||||
buildInputs = with pkgs; [ alsaLib ffmpeg_3 libv4l sqlite libvpx ];
|
||||
propagatedBuildInputs = [ cython pkgs.openssl dnspython dateutil xcaplib msrplib lxml python-otr ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
, pandas
|
||||
, tables
|
||||
, git
|
||||
, ffmpeg
|
||||
, ffmpeg_3
|
||||
, scikitimage
|
||||
, matplotlib
|
||||
, qdarkstyle
|
||||
@@ -55,7 +55,7 @@ buildPythonPackage rec {
|
||||
pandas
|
||||
tables
|
||||
git
|
||||
ffmpeg
|
||||
ffmpeg_3
|
||||
scikitimage
|
||||
matplotlib
|
||||
qdarkstyle
|
||||
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
gifsicle = "${pkgs.gifsicle}/bin/gifsicle";
|
||||
exiftool = "${pkgs.exiftool}/bin/exiftool";
|
||||
jpegtran = "${pkgs.libjpeg}/bin/jpegtran";
|
||||
ffmpeg = "${pkgs.ffmpeg}/bin/ffmpeg";
|
||||
ffmpeg = "${pkgs.ffmpeg_3}/bin/ffmpeg";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user