aboutsummaryrefslogtreecommitdiff
path: root/pkgs/lorem-text
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-10-24 13:03:34 +0200
committerKarel Kočí <cynerd@email.cz>2022-10-24 13:03:34 +0200
commit929e848d78b6b729ca17c5e7499aaec6b58ba14e (patch)
tree5426fac0b2e52485f9a093688798f3db279634de /pkgs/lorem-text
parent79a8a7c26df6b854ec9973f42a1aa0a9dd222c3e (diff)
downloadnixos-personal-929e848d78b6b729ca17c5e7499aaec6b58ba14e.tar.gz
nixos-personal-929e848d78b6b729ca17c5e7499aaec6b58ba14e.tar.bz2
nixos-personal-929e848d78b6b729ca17c5e7499aaec6b58ba14e.zip
pkgs: add lorem-text
Diffstat (limited to 'pkgs/lorem-text')
-rw-r--r--pkgs/lorem-text/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/lorem-text/default.nix b/pkgs/lorem-text/default.nix
new file mode 100644
index 0000000..7927346
--- /dev/null
+++ b/pkgs/lorem-text/default.nix
@@ -0,0 +1,24 @@
+{
+ python3Packages,
+ fetchFromGitHub,
+}:
+let
+
+ pypkg = {
+ buildPythonPackage,
+ click,
+ }:
+ buildPythonPackage {
+ pname = "lorem_text";
+ version = "2.1";
+ src = fetchFromGitHub {
+ owner = "TheAbhijeet";
+ repo = "lorem_text";
+ rev = "63a26b95a86f696d23ba059eac70ba1d78e553fb";
+ sha256 = "lTksWfXaUxmtWiGK+8kEwHNGNlluX+q3FWXZfzfEDCk=";
+ };
+ propagatedBuildInputs = [click];
+ passthru.pythonPackage = pypkg;
+ };
+
+in python3Packages.callPackage pypkg { }