mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
adbuco: patch to use XDG directory scheme by default
This eliminates clutter in the user’s $HOME directory
This commit is contained in:
parent
ecbb6c4c91
commit
1cd94ec066
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, writeText, conf ? null }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, writeText, conf ? null }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abduco";
|
||||
@ -17,6 +17,15 @@ stdenv.mkDerivation rec {
|
||||
installFlags = [ "install-completion" ];
|
||||
CFLAGS = lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||
|
||||
patches = [
|
||||
# https://github.com/martanne/abduco/pull/22
|
||||
(fetchpatch {
|
||||
name = "use-XDG-directory-scheme-by-default";
|
||||
url = "https://github.com/martanne/abduco/commit/0e9a00312ac9777edcb169122144762e3611287b.patch";
|
||||
sha256 = "sha256-4NkIflbRkUpS5XTM/fxBaELpvlZ4S5lecRa8jk0XC9g=";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://brain-dump.org/projects/abduco";
|
||||
license = licenses.isc;
|
||||
|
Loading…
Reference in New Issue
Block a user