forked from mirrors/nixpkgs
ef4442e827
See f63eb58573
The `requests2` attribute now throws an error informing that `requests`
should be used instead.
26 lines
621 B
Nix
26 lines
621 B
Nix
{ stdenv, fetchFromGitHub, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
version = "0.8.0";
|
|
name = "toot-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ihabunek";
|
|
repo = "toot";
|
|
rev = "${version}";
|
|
sha256 = "1y1jz4f53njq94zab0icf7jhd4jp10ywm508l4lw6spb69wr7rdy";
|
|
};
|
|
|
|
propagatedBuildInputs = with pythonPackages;
|
|
[ requests beautifulsoup4 future ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Mastodon CLI interface";
|
|
homepage = "https://github.com/ihabunek/toot";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.matthiasbeyer ];
|
|
};
|
|
|
|
}
|
|
|