uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
55
pkgs/development/python-modules/subliminal/default.nix
Normal file
55
pkgs/development/python-modules/subliminal/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, guessit
|
||||
, babelfish
|
||||
, enzyme
|
||||
, beautifulsoup4
|
||||
, requests
|
||||
, click
|
||||
, dogpile-cache
|
||||
, stevedore
|
||||
, chardet
|
||||
, pysrt
|
||||
, six
|
||||
, appdirs
|
||||
, rarfile
|
||||
, pytz
|
||||
, sympy
|
||||
, vcrpy
|
||||
, pytest
|
||||
, pytest-flakes
|
||||
, pytest-cov
|
||||
, pytest-runner
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "subliminal";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "12v2clnbic8320fjsvkg3xfxfa7x8inhjk61z00pzwx46g3rqhy6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
guessit babelfish enzyme beautifulsoup4 requests
|
||||
click dogpile-cache stevedore chardet pysrt six
|
||||
appdirs rarfile pytz
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
sympy vcrpy pytest pytest-flakes
|
||||
pytest-cov pytest-runner
|
||||
];
|
||||
|
||||
# https://github.com/Diaoul/subliminal/pull/963
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "subliminal" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Diaoul/subliminal";
|
||||
description = "Python library to search and download subtitles";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue