mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
18096d201b
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
32 lines
687 B
Nix
32 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 = [ ];
|
|
};
|
|
|
|
}
|
|
|