pythonPackages.pyblosxom: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 08:55:38 -04:00 committed by Frederik Rietdijk
parent c1d9373034
commit e7db7a501f
2 changed files with 32 additions and 21 deletions

View File

@ -0,0 +1,31 @@
{ 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 stdenv.lib; {
homepage = "http://pyblosxom.github.io";
description = "File-based blogging engine";
license = licenses.mit;
};
}

View File

@ -3277,27 +3277,7 @@ in {
pybcrypt = callPackage ../development/python-modules/pybcrypt { };
pyblosxom = buildPythonPackage rec {
name = "pyblosxom-${version}";
disabled = isPy3k;
version = "1.5.3";
# FAIL:test_generate_entry and test_time
# both tests fail due to time issue that doesn't seem to matter in practice
doCheck = false;
src = pkgs.fetchurl {
url = "https://github.com/pyblosxom/pyblosxom/archive/v${version}.tar.gz";
sha256 = "0de9a7418f4e6d1c45acecf1e77f61c8f96f036ce034493ac67124626fd0d885";
};
propagatedBuildInputs = with self; [ pygments markdown ];
meta = {
homepage = "http://pyblosxom.github.io";
description = "File-based blogging engine";
license = licenses.mit;
};
};
pyblosxom = callPackage ../development/python-modules/pyblosxom { };
pycapnp = buildPythonPackage rec {
name = "pycapnp-0.5.1";