nixpkgs/pkgs/development/python-modules/markdown2/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

20 lines
517 B
Nix

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "markdown2";
version = "2.3.5";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "8bb9a24eb2aa02f1427aabe46483f0f0215ab18c8a345315ae8e2ee3c3a09c03";
};
meta = with stdenv.lib; {
description = "A fast and complete Python implementation of Markdown";
homepage = https://github.com/trentm/python-markdown2;
license = licenses.mit;
maintainers = with maintainers; [ hbunke ];
};
}