pythonPackages.pymysqlsa: refactor move to python-modules
This commit is contained in:
parent
1170733244
commit
8afd718c0a
25
pkgs/development/python-modules/pymysqlsa/default.nix
Normal file
25
pkgs/development/python-modules/pymysqlsa/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pymysql
|
||||
, sqlalchemy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymysqlsa";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a2676bce514a29b2d6ab418812259b0c2f7564150ac53455420a20bd7935314a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pymysql sqlalchemy ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "PyMySQL dialect for SQL Alchemy";
|
||||
homepage = https://pypi.python.org/pypi/pymysql_sa;
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2887,23 +2887,7 @@ in {
|
||||
|
||||
pympler = callPackage ../development/python-modules/pympler { };
|
||||
|
||||
pymysqlsa = self.buildPythonPackage rec {
|
||||
name = "pymysqlsa-${version}";
|
||||
version = "1.0";
|
||||
|
||||
propagatedBuildInputs = with self; [ pymysql sqlalchemy ];
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pymysql_sa/pymysql_sa-1.0.tar.gz";
|
||||
sha256 = "a2676bce514a29b2d6ab418812259b0c2f7564150ac53455420a20bd7935314a";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "PyMySQL dialect for SQL Alchemy";
|
||||
homepage = https://pypi.python.org/pypi/pymysql_sa;
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
pymysqlsa = callPackage ../development/python-modules/pymysqlsa { };
|
||||
|
||||
monosat = disabledIf (!isPy3k) (pkgs.monosat.python { inherit buildPythonPackage; inherit (self) cython; });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user