pythonPackages.bottle: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 17:17:55 +02:00 committed by Frederik Rietdijk
parent c2eb722948
commit 8f59a8fea6
2 changed files with 22 additions and 19 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi, setuptools }:
buildPythonPackage rec {
pname = "bottle";
version = "0.12.11";
src = fetchPypi {
inherit pname version;
sha256 = "0cd787lzggs933qfav6xicx5c78dz6npwgg3xc4rhah44nbqz5d1";
};
propagatedBuildInputs = [ setuptools ];
meta = with stdenv.lib; {
homepage = http://bottlepy.org;
description = "A fast and simple micro-framework for small web-applications";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ koral ];
};
}

View File

@ -1364,25 +1364,7 @@ in {
botocore = callPackage ../development/python-modules/botocore { };
bottle = buildPythonPackage rec {
version = "0.12.11";
name = "bottle-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/b/bottle/${name}.tar.gz";
sha256 = "0cd787lzggs933qfav6xicx5c78dz6npwgg3xc4rhah44nbqz5d1";
};
propagatedBuildInputs = with self; [ setuptools ];
meta = {
homepage = http://bottlepy.org;
description = "A fast and simple micro-framework for small web-applications";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ koral ];
};
};
bottle = callPackage ../development/python-modules/bottle { };
box2d = buildPythonPackage rec {
name = "box2d-${version}";