nixpkgs-suyu/pkgs/development/python-modules/limnoria/default.nix

30 lines
618 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
}:
buildPythonPackage rec {
pname = "limnoria";
version = "2019.11.09";
src = fetchPypi {
inherit pname version;
sha256 = "1ni25jmri0928jj2c24xw5f2fzljjla54zh80fimks1aa5752j29";
};
patchPhase = ''
sed -i 's/version=version/version="${version}"/' setup.py
'';
buildInputs = [ pkgs.git ];
doCheck = false;
meta = with stdenv.lib; {
description = "A modified version of Supybot, an IRC bot";
homepage = "https://github.com/ProgVal/Limnoria";
license = licenses.bsd3;
maintainers = with maintainers; [ goibhniu ];
};
}