py_scrypt: use instead of ltc_scrypt
This commit is contained in:
parent
3ffb4137d9
commit
01c80fe9bb
@ -1,22 +0,0 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ltc_scrypt";
|
||||
version = "1.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1h90hh3iw4i7zs7jgskdjlk8gi97b3v2zqsxdfwdvhrrnhpvv856";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bindings for scrypt proof of work used by Litecoin";
|
||||
homepage = https://pypi.python.org/pypi/ltc_scrypt;
|
||||
maintainers = with maintainers; [ asymmetric ];
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
26
pkgs/development/python-modules/py_scrypt/default.nix
Normal file
26
pkgs/development/python-modules/py_scrypt/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, openssl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "scrypt";
|
||||
version = "0.8.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0830r3q8f8mc4738ngcvwhv9kih5c6zf87mzkdifzf2h6kss99fl";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bindings for scrypt key derivation function library";
|
||||
homepage = https://pypi.python.org/pypi/scrypt;
|
||||
maintainers = with maintainers; [ asymmetric ];
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
}
|
@ -9992,7 +9992,7 @@ in {
|
||||
};
|
||||
});
|
||||
|
||||
ltc_scrypt = callPackage ../development/python-modules/ltc_scrypt/default.nix { };
|
||||
py_scrypt = callPackage ../development/python-modules/py_scrypt/default.nix { };
|
||||
|
||||
python_magic = buildPythonPackage rec {
|
||||
name = "python-magic-0.4.10";
|
||||
|
Loading…
Reference in New Issue
Block a user