about summary refs log tree commit diff
path: root/pkgs/development/python-modules/reprshed/default.nix
blob: fb05ed5726250b1bab72396f6ea652a98cdc995a (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
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 = with lib; {
    homepage = "https://github.com/mentalisttraceur/python-reprshed";
    description = "Toolshed for writing great __repr__ methods quickly and easily";
    license = licenses.bsd0;
    maintainers = with maintainers; [ netali ];
  };
}