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

40 lines
739 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, nbconvert
, nbformat
, notebook
, pandoc-attributes
, six
}:
buildPythonPackage rec {
pname = "notedown";
version = "1.5.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "36e033ebbbe5aca0fab031ffaf3611d5bc5c50237df68ff81bb95f8be353a1ee";
};
propagatedBuildInputs = [
notebook
nbconvert
nbformat
pandoc-attributes
six
];
# No tests in pypi source
doCheck = false;
meta = {
homepage = "https://github.com/aaren/notedown";
description = "Convert IPython Notebooks to markdown (and back)";
mainProgram = "notedown";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vcanadi ];
};
}