pythonPackages.pyblosxom: refactor move to python-modules
This commit is contained in:
parent
c1d9373034
commit
e7db7a501f
31
pkgs/development/python-modules/pyblosxom/default.nix
Normal file
31
pkgs/development/python-modules/pyblosxom/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -3277,27 +3277,7 @@ in {
|
|||||||
|
|
||||||
pybcrypt = callPackage ../development/python-modules/pybcrypt { };
|
pybcrypt = callPackage ../development/python-modules/pybcrypt { };
|
||||||
|
|
||||||
pyblosxom = buildPythonPackage rec {
|
pyblosxom = callPackage ../development/python-modules/pyblosxom { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
pycapnp = buildPythonPackage rec {
|
pycapnp = buildPythonPackage rec {
|
||||||
name = "pycapnp-0.5.1";
|
name = "pycapnp-0.5.1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user