nixos-config/pkgs/bepasty-client-cli/default.nix

21 lines
568 B
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ lib, pkgs, pythonPackages, fetchFromGitHub, ... }:
2019-12-20 05:54:26 +01:00
with pythonPackages;
buildPythonPackage rec {
2019-10-24 02:20:38 +02:00
name = "bepasty-client-cli";
2019-12-20 05:54:26 +01:00
propagatedBuildInputs = [ python_magic click requests ];
2019-10-24 02:20:38 +02:00
src = fetchFromGitHub {
owner = "bepasty";
repo = "bepasty-client-cli";
rev = "4b7135ba8ba1e17501de08ad7b6aca73c0d949d2";
sha256 = "1svchyk9zai1vip9ppm12jm7wfjbdr9ijhgcd2n10xh73jrn9cnc";
};
meta = {
2019-12-20 05:54:26 +01:00
homepage = "https://github.com/bepasty/bepasty-client-cli";
2019-10-24 02:20:38 +02:00
description = "CLI client for bepasty-server";
license = lib.licenses.bsd2;
};
}