pythonPackages.x11_hash: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 15:08:17 -04:00
parent 0851a181f0
commit b794f35441
2 changed files with 23 additions and 16 deletions

View File

@@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec{
version = "1.4";
pname = "x11_hash";
src = fetchPypi {
inherit pname version;
sha256 = "172skm9xbbrivy1p4xabxihx9lsnzi53hvzryfw64m799k2fmp22";
};
meta = with stdenv.lib; {
description = "Binding for X11 proof of work hashing";
homepage = https://github.com/mazaclub/x11_hash;
license = licenses.mit;
maintainers = with maintainers; [ np ];
};
}