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
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
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 ];
};
}

View file

@ -4531,22 +4531,7 @@ in {
trezor_agent = callPackage ../development/python-modules/trezor_agent { };
x11_hash = buildPythonPackage rec{
version = "1.4";
name = "x11_hash-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/x/x11_hash/${name}.tar.gz";
sha256 = "172skm9xbbrivy1p4xabxihx9lsnzi53hvzryfw64m799k2fmp22";
};
meta = {
description = "Binding for X11 proof of work hashing";
homepage = https://github.com/mazaclub/x11_hash;
license = licenses.mit;
maintainers = with maintainers; [ np ];
};
};
x11_hash = callPackage ../development/python-modules/x11_hash { };
termstyle = callPackage ../development/python-modules/termstyle { };