mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
txtw: init at 0.4
This commit is contained in:
parent
e126769a68
commit
1a6016825e
25
pkgs/tools/misc/txtw/default.nix
Normal file
25
pkgs/tools/misc/txtw/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, cairo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.4";
|
||||
name = "txtw-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "baskerville";
|
||||
repo = "txtw";
|
||||
rev = "${version}";
|
||||
sha256 = "17yjdgdd080fsf5r1wzgk6vvzwsa15gcwc9z64v7x588jm1ryy3k";
|
||||
};
|
||||
|
||||
buildInputs = [ cairo ];
|
||||
|
||||
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Compute text widths";
|
||||
homepage = https://github.com/baskerville/txtw;
|
||||
maintainers = with maintainers; [ lihop ];
|
||||
license = licenses.unlicense;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -3338,6 +3338,8 @@ let
|
||||
|
||||
txt2tags = callPackage ../tools/text/txt2tags { };
|
||||
|
||||
txtw = callPackage ../tools/misc/txtw { };
|
||||
|
||||
u9fs = callPackage ../servers/u9fs { };
|
||||
|
||||
ucl = callPackage ../development/libraries/ucl { };
|
||||
|
Loading…
Reference in New Issue
Block a user