agate-dbf: refactor
This commit is contained in:
parent
4036bc91da
commit
90daf2de27
21
pkgs/development/python-modules/agate-dbf/default.nix
Normal file
21
pkgs/development/python-modules/agate-dbf/default.nix
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage, agate, dbf, dbfread }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "agate-dbf";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ agate dbf dbfread ];
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0pkk6m873xpqj77ja6ylmg8v41abpn4bvsqw6mh2hjyd0snw2rh6";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Adds read support for dbf files to agate";
|
||||||
|
homepage = https://github.com/wireservice/agate-dbf;
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ vrthra ];
|
||||||
|
};
|
||||||
|
}
|
@ -116,26 +116,10 @@ in {
|
|||||||
|
|
||||||
agate = callPackage ../development/python-modules/agate { };
|
agate = callPackage ../development/python-modules/agate { };
|
||||||
|
|
||||||
|
agate-dbf = callPackage ../development/python-modules/agate-dbf { };
|
||||||
|
|
||||||
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
|
phonenumbers = callPackage ../development/python-modules/phonenumbers { };
|
||||||
|
|
||||||
agate-dbf = buildPythonPackage rec {
|
|
||||||
name = "agate-dbf-0.2.0";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Adds read support for dbf files to agate";
|
|
||||||
homepage = "https://github.com/wireservice/agate-dbf";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ vrthra ];
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ agate dbf dbfread ];
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/a/agate-dbf/${name}.tar.gz";
|
|
||||||
sha256 = "0pkk6m873xpqj77ja6ylmg8v41abpn4bvsqw6mh2hjyd0snw2rh6";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
agate-excel = buildPythonPackage rec {
|
agate-excel = buildPythonPackage rec {
|
||||||
name = "agate-excel-0.2.1";
|
name = "agate-excel-0.2.1";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user