agate-sql: refactor
This commit is contained in:
parent
4365d634c8
commit
e13b240359
21
pkgs/development/python-modules/agate-sql/default.nix
Normal file
21
pkgs/development/python-modules/agate-sql/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchPypi, buildPythonPackage, agate, sqlalchemy }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "agate-sql";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0qlfwql6fnbs0r1rj7nxv4n5scad53b8dlh4qv6gyklvdk3wwn14";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ agate sqlalchemy ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Adds SQL read/write support to agate.";
|
||||
homepage = https://github.com/wireservice/agate-sql;
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
};
|
||||
}
|
@ -122,23 +122,7 @@ in {
|
||||
|
||||
agate-excel = callPackage ../development/python-modules/agate-excel { };
|
||||
|
||||
agate-sql = buildPythonPackage rec {
|
||||
name = "agate-sql-0.5.2";
|
||||
|
||||
meta = {
|
||||
description = "Adds SQL read/write support to agate.";
|
||||
homepage = https://github.com/wireservice/agate-sql;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ vrthra ];
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ agate sqlalchemy ];
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/a/agate-sql/${name}.tar.gz";
|
||||
sha256 = "0qlfwql6fnbs0r1rj7nxv4n5scad53b8dlh4qv6gyklvdk3wwn14";
|
||||
};
|
||||
};
|
||||
agate-sql = callPackage ../development/python-modules/agate-sql { };
|
||||
|
||||
ansicolor = buildPythonPackage rec {
|
||||
name = "ansicolor-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user