2017-06-14 08:57:38 +00:00
|
|
|
{ fetchurl, stdenv, pkgs, ... }:
|
|
|
|
|
|
|
|
pkgs.pythonPackages.buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "thefuck";
|
|
|
|
version = "3.18";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/nvbn/${pname}/archive/${version}.tar.gz";
|
|
|
|
sha256 = "1xsvkqh89rgxq5w03mnlcfkn9y39nfwhb2pjabjspcc2mi2mq5y6";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with pkgs.pythonPackages; [
|
|
|
|
psutil
|
|
|
|
colorama
|
|
|
|
six
|
|
|
|
decorator
|
|
|
|
pathlib2
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/nvbn/thefuck;
|
2017-06-14 08:57:38 +00:00
|
|
|
description = "Magnificent app which corrects your previous console command.";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ma27 ];
|
|
|
|
};
|
|
|
|
}
|