mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
639 B
Nix
28 lines
639 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|