1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/applications/misc/toot/default.nix
2017-09-13 21:44:49 +02:00

32 lines
709 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
version = "0.15.0";
name = "toot-${version}";
src = fetchFromGitHub {
owner = "ihabunek";
repo = "toot";
rev = "${version}";
sha256 = "08k913gw0ip2q686z9k63bcn1n5s4w6b7jj6jmmamm427xmibkph";
};
checkInputs = with pythonPackages; [ pytest ];
propagatedBuildInputs = with pythonPackages;
[ requests beautifulsoup4 future ];
checkPhase = ''
py.test
'';
meta = with stdenv.lib; {
description = "Mastodon CLI interface";
homepage = "https://github.com/ihabunek/toot";
license = licenses.mit;
maintainers = [ maintainers.matthiasbeyer ];
};
}