nixpkgs/pkgs/development/python-modules/xlsx2csv/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

33 lines
595 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, setuptools-scm
, wheel
}:
buildPythonPackage rec {
pname = "xlsx2csv";
version = "0.8.2";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-zdJyyC+LMvHO52rq74ey7jVJZh/d+Q9+zyMQlnoW/IQ=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
meta = with lib; {
homepage = "https://github.com/dilshod/xlsx2csv";
description = "Convert xlsx to csv";
mainProgram = "xlsx2csv";
license = licenses.bsd3;
maintainers = with maintainers; [ jb55 ];
};
}