nixpkgs/pkgs/development/python-modules/rst2ansi/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

21 lines
520 B
Nix

{ lib, buildPythonPackage, fetchPypi, docutils, }:
buildPythonPackage rec {
pname = "rst2ansi";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-Gxf7mmKNQPV5M60aOqlSNGREvgaUaVCOc+lQYNoz/m8=";
};
propagatedBuildInputs = [ docutils ];
meta = with lib; {
description = "A rst converter to ansi-decorated console output";
homepage = "https://github.com/Snaipe/python-rst-to-ansi";
license = licenses.mit;
maintainers = with maintainers; [ vojta001 ];
};
}