Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv
2, buildPythonPackage
3, fetchPypi
4, isPy3k
5}:
6
7buildPythonPackage rec {
8 pname = "ltc_scrypt";
9 version = "1.0";
10 name = "${pname}-${version}";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "1h90hh3iw4i7zs7jgskdjlk8gi97b3v2zqsxdfwdvhrrnhpvv856";
15 };
16
17 disabled = isPy3k;
18
19 meta = with stdenv.lib; {
20 description = "Bindings for scrypt proof of work used by Litecoin";
21 homepage = https://pypi.python.org/pypi/ltc_scrypt;
22 maintainers = with maintainers; [ asymmetric ];
23 license = licenses.bsd2;
24 };
25}