2021-03-06 12:33:47 +00:00
|
|
|
{ pkgs ? import (builtins.fetchTarball {
|
|
|
|
name = "nixos-unstable-erambler";
|
|
|
|
url = "https://github.com/nixos/nixpkgs/archive/f9d90fdbbfea5ac0349cd7d5a7025a2434dace1c.tar.gz";
|
|
|
|
sha256 = "14lsfish1sxfbz7sqw8nzvc915j7g3asliqa45hjnpyg35cfslwf";
|
|
|
|
}) { } }:
|
2020-10-21 12:52:51 +00:00
|
|
|
|
2021-01-26 21:02:53 +00:00
|
|
|
let
|
2021-03-06 12:33:47 +00:00
|
|
|
python = pkgs.python38;
|
|
|
|
my_yaspin = python.pkgs.buildPythonPackage rec {
|
2021-01-26 21:02:53 +00:00
|
|
|
pname = "yaspin";
|
|
|
|
version = "1.3.0";
|
2021-03-06 12:33:47 +00:00
|
|
|
src = python.pkgs.fetchPypi {
|
2021-01-26 21:02:53 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 =
|
|
|
|
"cc37d35cc7f796dada6c37430b49e471ffa05d0686e6f8de36f83978b732df54";
|
|
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/pavdmyt/yaspin";
|
|
|
|
description = "Yet Another Terminal Spinner for Python";
|
|
|
|
};
|
|
|
|
};
|
2021-03-06 12:33:47 +00:00
|
|
|
pythonWithPackages = python.withPackages (py: [
|
2021-01-26 21:02:53 +00:00
|
|
|
py.python
|
|
|
|
|
2021-03-06 13:00:27 +00:00
|
|
|
# For locally-run tasks
|
2021-01-26 21:02:53 +00:00
|
|
|
py.invoke
|
|
|
|
py.rich
|
|
|
|
py.requests
|
2021-03-12 21:48:58 +00:00
|
|
|
py.ruamel_yaml
|
2021-03-06 13:00:27 +00:00
|
|
|
my_yaspin
|
2021-01-26 21:02:53 +00:00
|
|
|
]);
|
|
|
|
in pkgs.mkShell {
|
2021-04-04 15:12:29 +00:00
|
|
|
buildInputs = with pkgs; [ pythonWithPackages yarn ];
|
2020-10-21 12:52:51 +00:00
|
|
|
}
|