2020-06-03 22:14:53 +03:00
|
|
|
{ lib, pkgs, python3Packages, nixosTests }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "steck";
|
2021-01-11 08:34:42 +03:00
|
|
|
version = "0.7.0";
|
2020-06-03 22:14:53 +03:00
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-11 08:34:42 +03:00
|
|
|
sha256 = "1a3l427ibwck9zzzy1sp10hmjgminya08i4r9j4559qzy7lxghs1";
|
2020-06-03 22:14:53 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
pkgs.git
|
|
|
|
appdirs
|
|
|
|
click
|
|
|
|
python_magic
|
|
|
|
requests
|
|
|
|
termcolor
|
|
|
|
toml
|
|
|
|
];
|
|
|
|
|
2021-01-11 08:34:42 +03:00
|
|
|
# tests are not in pypi package
|
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-04 00:12:06 +03:00
|
|
|
passthru.tests = nixosTests.pinnwand;
|
|
|
|
|
2020-06-03 22:14:53 +03:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/supakeen/steck";
|
|
|
|
license = licenses.mit;
|
2020-10-11 08:55:05 +03:00
|
|
|
description = "Client for pinnwand pastebin";
|
2020-06-03 22:14:53 +03:00
|
|
|
maintainers = with maintainers; [ hexa ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|