nixpkgs/pkgs/development/python-modules/pyblosxom/default.nix

32 lines
698 B
Nix
Raw Normal View History

{ lib, stdenv
, buildPythonPackage
, fetchurl
, pygments
, markdown
, isPy3k
}:
buildPythonPackage rec {
pname = "pyblosxom";
version = "1.5.3";
disabled = isPy3k;
src = fetchurl {
url = "https://github.com/pyblosxom/pyblosxom/archive/v${version}.tar.gz";
sha256 = "0de9a7418f4e6d1c45acecf1e77f61c8f96f036ce034493ac67124626fd0d885";
};
propagatedBuildInputs = [ pygments markdown ];
# FAIL:test_generate_entry and test_time
# both tests fail due to time issue that doesn't seem to matter in practice
doCheck = false;
meta = with lib; {
homepage = "http://pyblosxom.github.io";
description = "File-based blogging engine";
license = licenses.mit;
};
}