pythonPackages.praw: freeze at 6.3.1
This commit is contained in:
parent
67aa40139b
commit
73ae8fbb64
53
pkgs/development/python-modules/praw/6.3.nix
Normal file
53
pkgs/development/python-modules/praw/6.3.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub
|
||||
, betamax
|
||||
, betamax-serializers
|
||||
, betamax-matchers
|
||||
, mock
|
||||
, six
|
||||
, pytestrunner
|
||||
, prawcore
|
||||
, pytest
|
||||
, requests-toolbelt
|
||||
, update_checker
|
||||
, websocket_client
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "praw";
|
||||
version = "6.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praw-dev";
|
||||
repo = "praw";
|
||||
rev = "v${version}";
|
||||
sha256 = "0by89aw7m803dvjcc33m9390msjm6v5v8g3k8ink9gfm421lw8ky";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pytestrunner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mock
|
||||
prawcore
|
||||
update_checker
|
||||
websocket_client
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
betamax
|
||||
betamax-serializers
|
||||
betamax-matchers
|
||||
mock
|
||||
pytest
|
||||
requests-toolbelt
|
||||
six
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Reddit API wrapper";
|
||||
homepage = "https://praw.readthedocs.org/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -48,7 +48,6 @@ buildPythonPackage rec {
|
||||
description = "Python Reddit API wrapper";
|
||||
homepage = "https://praw.readthedocs.org/";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
@ -4324,7 +4324,8 @@ in {
|
||||
|
||||
ppft = callPackage ../development/python-modules/ppft { };
|
||||
|
||||
praw = callPackage ../development/python-modules/praw { };
|
||||
praw = if isPy3k then callPackage ../development/python-modules/praw { }
|
||||
else callPackage ../development/python-modules/praw/6.3.nix { };
|
||||
|
||||
prawcore = callPackage ../development/python-modules/prawcore { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user