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