aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/imgsize/default.nix
blob: d4f066b8b0b2467745995a609d45bd56c871f122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv
, buildPythonPackage
, fetchFromGitHub
}:

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

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

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