mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
grip: apply upstream patch to fix build failure
This commit is contained in:
parent
f7e8132dac
commit
3ab1da48d7
@ -1,5 +1,6 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
# Python bits:
|
||||
, buildPythonPackage
|
||||
, pytest
|
||||
@ -25,6 +26,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-CHL2dy0H/i0pLo653F7aUHFvZHTeZA6jC/rwn1KrEW4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/NixOS/nixpkgs/issues/288478
|
||||
(fetchpatch {
|
||||
name = "set-default-encoding.patch";
|
||||
url = "https://github.com/joeyespo/grip/commit/2784eb2c1515f1cdb1554d049d48b3bff0f42085.patch";
|
||||
hash = "sha256-veVJKJtt8mP1jmseRD7pNR3JgIxX1alYHyQok/rBpiQ=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytest responses ];
|
||||
|
||||
propagatedBuildInputs = [ docopt flask markdown path-and-address pygments requests tabulate ];
|
||||
|
Loading…
Reference in New Issue
Block a user