nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 9ad16d3771f6238fe45c10a2ca9970c164f2055e
parent e706a66ba70821fb9016a42900384e918493ae2b
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 17 Nov 2021 20:29:31 +0300

Add ff-tools

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/suckless/ff-tools/default.nix | 27+++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -344,6 +344,7 @@ lib.makeScope newScope ( chibicc = callPackage ./suckless/chibicc { }; cproc = callPackage ./suckless/cproc { }; farbfeld-utils = callPackage ./suckless/farbfeld-utils { }; + ff-tools = callPackage ./suckless/ff-tools { }; ffshot = callPackage ./suckless/ffshot { }; hurl = callPackage ./suckless/hurl { }; imscript = callPackage ./suckless/imscript { }; diff --git a/pkgs/suckless/ff-tools/default.nix b/pkgs/suckless/ff-tools/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "ff-tools"; + version = "2019-06-08"; + + src = fetchFromGitHub { + owner = "sirjofri"; + repo = pname; + rev = "ca02af149a0915caae2c4b8de39baac21d3e596b"; + hash = "sha256-V++8FI8u7N9ALDjoAyd/wD7vg/43E9D/wuwwKiB1NfQ="; + }; + + makeFlags = [ "CC:=$(CC)" ]; + + installFlags = [ "PREFIX=$(out)" ]; + + preInstall = "mkdir -p $out/bin"; + + meta = with lib; { + description = "A collection of farbfeld tools"; + inherit (src.meta) homepage; + license = licenses.free; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.unix; + }; +}