nixpkgs/pkgs/development/python-modules/agate-excel/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

22 lines
595 B
Nix

{ stdenv, fetchPypi, buildPythonPackage, agate, openpyxl, xlrd }:
buildPythonPackage rec {
pname = "agate-excel";
version = "0.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "8923f71ee2b5b7b21e52fb314a769b28fb902f647534f5cbbb41991d8710f4c7";
};
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 ];
};
}