mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
33 lines
671 B
Nix
33 lines
671 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, pkgs
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "limnoria";
|
|
version = "2021.06.15";
|
|
disabled = isPy27; # abandoned upstream
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "47290281f3f945261a7f8d8c6f207dcb1d277b241f58827d5a76ab8cd453a1d0";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed -i 's/version=version/version="${version}"/' setup.py
|
|
'';
|
|
buildInputs = [ pkgs.git ];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "A modified version of Supybot, an IRC bot";
|
|
homepage = "https://github.com/ProgVal/Limnoria";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
};
|
|
|
|
}
|