mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
python312Packages.howdoi: remove broken mark on darwin and remove one bad test case (#335138)
This commit is contained in:
commit
997b808811
@ -1,5 +1,4 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
appdirs,
|
||||
buildPythonPackage,
|
||||
@ -7,6 +6,7 @@
|
||||
colorama,
|
||||
cssselect,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
keep,
|
||||
lxml,
|
||||
pygments,
|
||||
@ -31,6 +31,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-u0k+h7Sp2t/JUnfPqRzDpEA+vNXB7CpyZ/SRvk+B9t0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Bad test case fix: comparing hardcoded string to internet search result
|
||||
# PR merged: https://github.com/gleitz/howdoi/pull/497
|
||||
# Please remove on the next release
|
||||
(fetchpatch {
|
||||
url = "https://github.com/gleitz/howdoi/commit/7d24e9e1c87811a6e66d60f504381383cf1ac3fd.patch";
|
||||
sha256 = "sha256-AFQMnMEijaExqiimbNaVeIRmZJ4Yj0nGUOEjfsvBLh8=";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
cachelib
|
||||
@ -55,7 +65,6 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "howdoi" ];
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
changelog = "https://github.com/gleitz/howdoi/blob/v${version}/CHANGES.txt";
|
||||
description = "Instant coding answers via the command line";
|
||||
homepage = "https://github.com/gleitz/howdoi";
|
||||
|
Loading…
Reference in New Issue
Block a user