nixpkgs-suyu/pkgs/applications/misc/toot/default.nix
R. RyanTM 18096d201b toot: 0.17.1 -> 0.18.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/toot/versions.

These checks were done:

- built on NixOS
- /nix/store/bhs5n438kn33h9v1r27m27zb27z0pvmw-toot-0.18.0/bin/.toot-wrapped passed the binary check.
- /nix/store/bhs5n438kn33h9v1r27m27zb27z0pvmw-toot-0.18.0/bin/toot passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 0 of 2 passed binary check by having the new version present in output.
- found 0.18.0 with grep in /nix/store/bhs5n438kn33h9v1r27m27zb27z0pvmw-toot-0.18.0
- directory tree listing: https://gist.github.com/a202deb57487abab3f68139efcdf7e07
- du listing: https://gist.github.com/fffb680bbb26f7e0ff4956e000c89985
2018-06-19 16:29:06 +00:00

31 lines
687 B
Nix

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