depot/third_party/nixpkgs/pkgs/servers/pinnwand/steck.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

31 lines
660 B
Nix

{ lib, pkgs, python3Packages, nixosTests }:
python3Packages.buildPythonApplication rec {
pname = "steck";
version = "0.6.0";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "07gc5iwbyprb8nihnjjl2zd06z8p4nl3a3drzh9a8ny35ig1khq0";
};
propagatedBuildInputs = with python3Packages; [
pkgs.git
appdirs
click
python_magic
requests
termcolor
toml
];
passthru.tests = nixosTests.pinnwand;
meta = with lib; {
homepage = "https://github.com/supakeen/steck";
license = licenses.mit;
description = "Client for pinnwand pastebin.";
maintainers = with maintainers; [ hexa ];
};
}