1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/markdown2.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

20 lines
536 B
Nix

{ stdenv, buildPythonPackage, fetchurl }:
buildPythonPackage rec {
pname = "markdown2";
version = "2.3.1";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/m/markdown2/${name}.zip";
sha256 = "03nqcx79r9lr5gp2zpqa1n54hnxqczdq27f2j3aazr3r9rsxsqs4";
};
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 ];
};
}