1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/development/python-modules/olefile/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

19 lines
552 B
Nix

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "olefile";
version = "0.45.1";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "2b6575f5290de8ab1086f8c5490591f7e0885af682c7c1793bdaf6e64078d385";
};
meta = with stdenv.lib; {
description = "Python package to parse, read and write Microsoft OLE2 files";
homepage = https://www.decalage.info/python/olefileio;
# BSD like + reference to Pillow
license = "http://olefile.readthedocs.io/en/latest/License.html";
};
}