mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
28 lines
601 B
Nix
28 lines
601 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
python,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyscrypt";
|
|
version = "1.6.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1sd5pd5fpcdnpp4h58kdnvkf0s3afh4ssfqky2ap6z0gy6ax3zds";
|
|
};
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} tests/run-tests-hash.py
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ricmoo/pyscrypt/";
|
|
description = "Pure-Python implementation of Scrypt PBKDF and scrypt file format library";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ valodim ];
|
|
};
|
|
}
|