pythonPackages.x11_hash: refactor move to python-modules
This commit is contained in:
parent
0851a181f0
commit
b794f35441
22
pkgs/development/python-modules/x11_hash/default.nix
Normal file
22
pkgs/development/python-modules/x11_hash/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4531,22 +4531,7 @@ in {
|
|||||||
|
|
||||||
trezor_agent = callPackage ../development/python-modules/trezor_agent { };
|
trezor_agent = callPackage ../development/python-modules/trezor_agent { };
|
||||||
|
|
||||||
x11_hash = buildPythonPackage rec{
|
x11_hash = callPackage ../development/python-modules/x11_hash { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
termstyle = callPackage ../development/python-modules/termstyle { };
|
termstyle = callPackage ../development/python-modules/termstyle { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user