commit
11a0d130ff
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchFromGitHub, cairo, gdk_pixbuf, libconfig, pango, pkgconfig
|
||||
, xcbutilwm, alsaLib, wirelesstools, asciidoc, libxslt, makeWrapper, docbook_xsl
|
||||
, configFile ? null, lib
|
||||
, rev, sha256, version
|
||||
, rev, sha256, version, patches ? []
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
@ -14,6 +14,8 @@ stdenv.mkDerivation {
|
||||
repo = "yabar";
|
||||
};
|
||||
|
||||
inherit patches;
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
@ -1,10 +1,18 @@
|
||||
{ callPackage, attrs ? {} }:
|
||||
{ callPackage, attrs ? {}, fetchpatch }:
|
||||
|
||||
let
|
||||
overrides = {
|
||||
overrides = rec {
|
||||
version = "0.4.0";
|
||||
|
||||
rev = "746387f0112f9b7aa2e2e27b3d69cb2892d8c63b";
|
||||
rev = version;
|
||||
sha256 = "1nw9dar1caqln5fr0dqk7dg6naazbpfwwzxwlkxz42shsc3w30a6";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/geommer/yabar/commit/9779a5e04bd6e8cdc1c9fcf5d7ac31416af85a53.patch";
|
||||
sha256 = "1szhr3k1kq6ixgnp74wnzgfvgxm6r4zpc3ny2x2wzy6lh2czc07s";
|
||||
})
|
||||
];
|
||||
|
||||
} // attrs;
|
||||
in callPackage ./build.nix overrides
|
||||
|
Loading…
Reference in New Issue
Block a user