python.pkgs.alabaster : move to separate expression

This commit is contained in:
wisut hantanong 2017-07-19 16:43:01 +07:00
parent 5eea07391e
commit 9b313484de
2 changed files with 25 additions and 20 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi
, pygments }:
buildPythonPackage rec {
pname = "alabaster";
version = "0.7.7";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "f416a84e0d0ddbc288f6b8f2c276d10b40ca1238562cd9ed5a751292ec647b71";
};
propagatedBuildInputs = [ pygments ];
# No tests included
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/bitprophet/alabaster;
description = "A Sphinx theme";
license = licenses.bsd3;
};
}

View File

@ -305,26 +305,7 @@ in {
};
};
alabaster = buildPythonPackage rec {
name = "alabaster-0.7.7";
src = pkgs.fetchurl {
url = "mirror://pypi/a/alabaster/${name}.tar.gz";
sha256 = "f416a84e0d0ddbc288f6b8f2c276d10b40ca1238562cd9ed5a751292ec647b71";
};
propagatedBuildInputs = with self; [ pygments ];
# No tests included
doCheck = false;
meta = {
homepage = https://github.com/bitprophet/alabaster;
description = "A Sphinx theme";
license = licenses.bsd3;
};
};
alabaster = callPackage ../development/python-modules/alabaster {};
alembic = callPackage ../development/python-modules/alembic {};