mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
Revert "python3Packages.batinfo: 0.4.2 -> 2.0" (#497524)
This commit is contained in:
commit
d902e2856c
1 changed files with 7 additions and 2 deletions
|
|
@ -8,14 +8,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "batinfo";
|
||||
version = "2.0";
|
||||
version = "0.4.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nicolargo";
|
||||
repo = "batinfo";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-7oR8FRnl6reFHKPf49ZH3zQIjgOX1KTOxb3aCRNYOSg=";
|
||||
hash = "sha256-GgAJJA8bzQJLAU+nxmkDa5LFTHc4NGi+nj9PfKyw8/M=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -36,6 +36,11 @@ buildPythonPackage rec {
|
|||
"test_batinfo_name_default"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
# Upstream has a broken 2.0 tag that causes this package to get downgraded to 0.2
|
||||
skipBulkUpdate = true;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Module to retrieve battery information";
|
||||
homepage = "https://github.com/nicolargo/batinfo";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue