[NixOS] Build clipit from source

This commit is contained in:
Ivan Malison 2018-06-17 03:01:41 -07:00
parent 204a7a75ab
commit 6a726f066e
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -20,14 +20,21 @@ let
}; };
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [pkgs.libappindicator-gtk3]; propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [pkgs.libappindicator-gtk3];
}); });
# clipit-master = pkgs.clipt.overrideAttrs (oldAttrs: rec { clipit-master = pkgs.clipit.overrideAttrs (oldAttrs: rec {
# src = fetchFromGitHub { version = "9741c39382a3f6e4c03eac6905a49794d07c465a";
# owner = "shantzu"; preConfigure = "./autogen.sh";
# repo = "ClipIt"; configureFlags = ["--with-gtk3" "--enable-appindicator"];
# rev = "eb9adaf2b5fd65aac1e83d6544b9076aae6af5b7"; src = pkgs.fetchFromGitHub {
# sha256 = "01if8y93wa0mwbkzkzx2v1vqh47zlz4k1dysl6yh5rmppd1psknz"; owner = "IvanMalison";
# }; repo = "ClipIt";
# }); sha256 = "13lddvbsp16nir9ibllr403qxhwyh4h2bh6774icbb250pghykjx";
rev = version;
};
buildInputs = with pkgs; [
autoconf automake intltool gtk3 xdotool hicolor-icon-theme
libappindicator-gtk3
];
});
in in
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -90,7 +97,7 @@ in
# Desktop # Desktop
autorandr autorandr
clipit clipit-master
compton compton
feh feh
networkmanagerapplet networkmanagerapplet