home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit fe350907947f105d1cf9ec91daa3c9d29c77769c
parent 593498eaf2dcf26d6f3cb494402a9c4f0d4d102f
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Wed, 24 Jun 2020 12:09:19 +0200

pkgs: add batzconverter (-git)

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Apkgs/batzconverter/default.nix | 20++++++++++++++++++++
Mpkgs/default.nix | 10++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/pkgs/batzconverter/default.nix b/pkgs/batzconverter/default.nix @@ -0,0 +1,20 @@ +{ stdenv, lib, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "batzconverter"; + version = "git"; + name = "${pname}-${version}"; + + src = fetchFromGitHub { + owner = "chmouel"; + repo = "batzconverter"; + rev = "907a1a6f97c590c5d6f9427c7a92e6be1d18a697"; + sha256 = "0alrxqhbi3ivx6a2n443rmry3y9b896lansmvfw6xwq7p1h7x22y"; + }; + + installPhase = '' + mkdir -p $out/bin + cp batz.sh $out/bin/batz + chmod +x $out/bin/batz + ''; +} diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -12,6 +12,15 @@ let rev = "emacs-27.0.91"; sha256 = "0mlrg2npy1r79laahkgzhxd1qassfcdz8qk1cpw7mqgf6y5x505h"; }; + /* + %configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg \ + --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no \ + --with-xwidgets --with-modules + */ + configureFlags = old.configureFlags ++ [ + "--with-xft" + "--with-gpm=no" + ]; buildInputs = old.buildInputs ++ [ pkgs.jansson ]; patches = [ ../overlays/patches/clean-env.patch @@ -48,6 +57,7 @@ rec { govanityurl = pkgs.callPackage ./govanityurl { }; ko = pkgs.callPackage ./ko { }; kss = pkgs.callPackage ./kss { }; + batzconverter = pkgs.callPackage ./batzconverter { }; kubernix = pkgs.callPackage ./kubernix { }; krew = pkgs.callPackage ./krew { }; prm = pkgs.callPackage ./prm { };