mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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-excel = callPackage ../development/python-modules/agate-excel { };
|
||||||
|
|
||||||
agate-sql = buildPythonPackage rec {
|
agate-sql = callPackage ../development/python-modules/agate-sql { };
|
||||||
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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ansicolor = buildPythonPackage rec {
|
ansicolor = buildPythonPackage rec {
|
||||||
name = "ansicolor-${version}";
|
name = "ansicolor-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user