py_scrypt: use instead of ltc_scrypt

+27 -23
-22
pkgs/development/python-modules/ltc_scrypt/default.nix
··· 1 - { stdenv 2 - , buildPythonPackage 3 - , fetchPypi 4 - }: 5 - 6 - buildPythonPackage rec { 7 - pname = "ltc_scrypt"; 8 - version = "1.0"; 9 - name = "${pname}-${version}"; 10 - 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "1h90hh3iw4i7zs7jgskdjlk8gi97b3v2zqsxdfwdvhrrnhpvv856"; 14 - }; 15 - 16 - meta = with stdenv.lib; { 17 - description = "Bindings for scrypt proof of work used by Litecoin"; 18 - homepage = https://pypi.python.org/pypi/ltc_scrypt; 19 - maintainers = with maintainers; [ asymmetric ]; 20 - license = licenses.bsd2; 21 - }; 22 - }
+26
pkgs/development/python-modules/py_scrypt/default.nix
··· 1 + { stdenv 2 + , buildPythonPackage 3 + , fetchPypi 4 + , openssl 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "scrypt"; 9 + version = "0.8.0"; 10 + name = "${pname}-${version}"; 11 + 12 + src = fetchPypi { 13 + inherit pname version; 14 + sha256 = "0830r3q8f8mc4738ngcvwhv9kih5c6zf87mzkdifzf2h6kss99fl"; 15 + }; 16 + 17 + buildInputs = [ openssl ]; 18 + doCheck = false; 19 + 20 + meta = with stdenv.lib; { 21 + description = "Bindings for scrypt key derivation function library"; 22 + homepage = https://pypi.python.org/pypi/scrypt; 23 + maintainers = with maintainers; [ asymmetric ]; 24 + license = licenses.bsd2; 25 + }; 26 + }
+1 -1
pkgs/top-level/python-packages.nix
··· 9992 9992 }; 9993 9993 }); 9994 9994 9995 - ltc_scrypt = callPackage ../development/python-modules/ltc_scrypt/default.nix { }; 9995 + py_scrypt = callPackage ../development/python-modules/py_scrypt/default.nix { }; 9996 9996 9997 9997 python_magic = buildPythonPackage rec { 9998 9998 name = "python-magic-0.4.10";