pythonPackages.batinfo: Move to own file
This commit is contained in:
parent
f14c61c933
commit
fd15953272
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "batinfo";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gyzkxzvj5l6qrw706bnm3cckqzzzbrjr7jkxc087d7775a73499";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/nicolargo/batinfo;
|
||||
description = "A simple Python lib to retrieve battery information";
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
}
|
|
@ -921,26 +921,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
batinfo = buildPythonPackage rec {
|
||||
version = "0.3";
|
||||
name = "batinfo-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/b/batinfo/${name}.tar.gz";
|
||||
sha256 = "0gyzkxzvj5l6qrw706bnm3cckqzzzbrjr7jkxc087d7775a73499";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/nicolargo/batinfo;
|
||||
description = "A simple Python lib to retrieve battery information";
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ koral ];
|
||||
};
|
||||
};
|
||||
batinfo = callPackage ../development/python-modules/batinfo {};
|
||||
|
||||
bcdoc = buildPythonPackage rec {
|
||||
name = "bcdoc-0.14.0";
|
||||
|
|
Loading…
Reference in New Issue