summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/reprshed/default.nix
blob: cda1c09028c987acca4f9d91bd774eade1ea1d4e (plain)
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
26
27
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
}:

buildPythonPackage rec {
  pname = "python-reprshed";
  version = "1.0.6";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "mentalisttraceur";
    repo = "python-reprshed";
    rev = "v${version}";
    hash = "sha256-XfmiewI74eDLKTAU6Ed76QXfJYMRb+idRACl6CW07ME=";
  };

  pythonImportsCheck = [ "reprshed" ];

  meta = {
    homepage = "https://github.com/mentalisttraceur/python-reprshed";
    description = "Toolshed for writing great __repr__ methods quickly and easily";
    license = lib.licenses.bsd0;
    maintainers = with lib.maintainers; [ netali ];
  };
}