nixpkgs/pkgs/development/python-modules/python-bidi/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

23 lines
570 B
Nix

{ lib, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
pname = "python-bidi";
version = "0.4.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "U0f3HoKz6Zdtxlfwne0r/jm6jWd3yoGlssVsMBIcSW4=";
};
propagatedBuildInputs = [ six ];
meta = with lib; {
homepage = "https://github.com/MeirKriheli/python-bidi";
description = "Pure python implementation of the BiDi layout algorithm";
mainProgram = "pybidi";
platforms = platforms.unix;
maintainers = with maintainers; [ freezeboy ];
};
}