mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
toot: 0.8.0 -> 0.13.0
This commit is contained in:
parent
a3e524054f
commit
5e64cc6cf0
@ -1,19 +1,25 @@
|
|||||||
{ stdenv, fetchFromGitHub, pythonPackages }:
|
{ stdenv, fetchFromGitHub, pythonPackages }:
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
version = "0.8.0";
|
version = "0.13.0";
|
||||||
name = "toot-${version}";
|
name = "toot-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ihabunek";
|
owner = "ihabunek";
|
||||||
repo = "toot";
|
repo = "toot";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "1y1jz4f53njq94zab0icf7jhd4jp10ywm508l4lw6spb69wr7rdy";
|
sha256 = "0gbsq43qv5qg4avx7czs57k40m8lzh8f1z5yizqqc7r02p2sacnc";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
checkInputs = with pythonPackages; [ pytest ];
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages;
|
propagatedBuildInputs = with pythonPackages;
|
||||||
[ requests beautifulsoup4 future ];
|
[ requests beautifulsoup4 future ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Mastodon CLI interface";
|
description = "Mastodon CLI interface";
|
||||||
homepage = "https://github.com/ihabunek/toot";
|
homepage = "https://github.com/ihabunek/toot";
|
||||||
|
Loading…
Reference in New Issue
Block a user