mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
dbfread: refactor
This commit is contained in:
parent
b94706926b
commit
2b56afea4d
19
pkgs/development/python-modules/dbfread/default.nix
Normal file
19
pkgs/development/python-modules/dbfread/default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ stdenv, fetchPypi, buildPythonPackage }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "dbfread";
|
||||||
|
version = "2.0.5";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0r5axq9ax0czyapm7b69krcv22r1nyb4vci7c5x8mx8pq1axim93";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Read DBF Files with Python";
|
||||||
|
homepage = http://dbfread.readthedocs.org/;
|
||||||
|
license = with licenses; [ mit ];
|
||||||
|
maintainers = with maintainers; [ vrthra ];
|
||||||
|
};
|
||||||
|
}
|
@ -159,21 +159,7 @@ in {
|
|||||||
|
|
||||||
dbf = callPackage ../development/python-modules/dbf { };
|
dbf = callPackage ../development/python-modules/dbf { };
|
||||||
|
|
||||||
dbfread = buildPythonPackage rec {
|
dbfread = callPackage ../development/python-modules/dbfread { };
|
||||||
name = "dbfread-2.0.5";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Read DBF Files with Python";
|
|
||||||
homepage = "http://dbfread.readthedocs.org/";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ vrthra ];
|
|
||||||
};
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/d/dbfread/${name}.tar.gz";
|
|
||||||
sha256 = "0r5axq9ax0czyapm7b69krcv22r1nyb4vci7c5x8mx8pq1axim93";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
dkimpy = callPackage ../development/python-modules/dkimpy { };
|
dkimpy = callPackage ../development/python-modules/dkimpy { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user