Merge pull request #62258 from marsam/fix-flexget

flexget: fix build
This commit is contained in:
worldofpeace
2019-06-02 16:50:10 -04:00
committed by GitHub
4 changed files with 35 additions and 28 deletions

View File

@@ -1,24 +0,0 @@
{ lib, buildPythonPackage, fetchFromGitHub
, pytest_3 }:
buildPythonPackage rec {
pname = "zxcvbn-python";
version = "4.4.27";
src = fetchFromGitHub {
owner = "dwolfhub";
repo = pname;
rev = "v${version}";
sha256 = "0w0sx9ssjks8da973cdv5xi87yjsf038jqxmzj2y26xvpyjsg2v2";
};
checkInputs = [
pytest_3
];
meta = {
description = "Python implementation of Dropbox's realistic password strength estimator, zxcvbn";
homepage = https://github.com/dwolfhub/zxcvbn-python;
license = with lib.licenses; [ mit ];
};
}

View File

@@ -0,0 +1,27 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
buildPythonPackage rec {
pname = "zxcvbn";
version = "4.4.28";
# no tests included in PyPI tarball
src = fetchFromGitHub {
owner = "dwolfhub";
repo = "zxcvbn-python";
rev = "45afdf0d3dd8477bc7e457629bb4bc9680794cd7"; # not tagged in repository
sha256 = "0w0sx9ssjks8da973cdv5xi87yjsf038jqxmzj2y26xvpyjsg2v2";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Python implementation of Dropbox's realistic password strength estimator";
homepage = "https://github.com/dwolfhub/zxcvbn-python";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
};
}