about summary refs log tree commit diff
path: root/pkgs/development/python-modules/imgsize/default.nix
blob: c368a67085d0c07e33d8016496d92f6696f6f4fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "imgsize";
  version = "2.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "ojii";
    repo = pname;
    rev = version;
    sha256 = "0k24qj4i996fz7lpjrs36il6lp51rh13b0j2wip87cy5v9109m2d";
  };

  meta = with lib; {
    description = "Pure Python image size library";
    homepage = "https://github.com/ojii/imgsize";
    license = with licenses; [ bsd3 ];
    maintainers = with maintainers; [ twey ];
  };
}