nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4}:
5
6buildPythonPackage rec {
7 pname = "imagesize";
8 version = "1.3.0";
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d";
13 };
14
15 meta = with lib; {
16 description = "Getting image size from png/jpeg/jpeg2000/gif file";
17 homepage = "https://github.com/shibukawa/imagesize_py";
18 license = with licenses; [ mit ];
19 };
20
21}