about summary refs log tree commit diff
path: root/pkgs/by-name/sh
diff options
context:
space:
mode:
authorMatthias Thym <git@thym.at>2024-02-19 10:19:26 +0100
committerMatthias Thym <git@thym.at>2024-02-19 14:37:34 +0100
commit560f6dfb3e6e4ee5036c1b141e365745baa3efd7 (patch)
treec955a880a9ad0a3f1e6f3af18d567aea532da07d /pkgs/by-name/sh
parent2104e113a01a5e0c0b9313f7956b311919fc6d43 (diff)
shittier: init at unstable-2023-12-22
Diffstat (limited to 'pkgs/by-name/sh')
-rw-r--r--pkgs/by-name/sh/shittier/package.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/by-name/sh/shittier/package.nix b/pkgs/by-name/sh/shittier/package.nix
new file mode 100644
index 0000000000000..e9316063c3bc2
--- /dev/null
+++ b/pkgs/by-name/sh/shittier/package.nix
@@ -0,0 +1,28 @@
+{ lib
+, buildNpmPackage
+, fetchFromGitHub
+}:
+
+buildNpmPackage rec {
+  pname = "shittier";
+  # No tagged release on GitHub yet
+  # Commit corresponds to release tagged as 0.1.1 on [npm](https://www.npmjs.com/package/shittier)
+  # See issue https://github.com/rohitdhas/shittier/issues/7
+  version = "0-unstable-2023-12-22";
+
+  src = fetchFromGitHub {
+    owner = "rohitdhas";
+    repo = "shittier";
+    rev = "c61b443c06dbaa8085a88b16360941cc4ba6baa2";
+    hash = "sha256-qdG1PdIZGWoJI7KgJqM/fayubPbPk+od/SgKfZQADz8=";
+  };
+
+  npmDepsHash = "sha256-oC9eOpoMZLZbyx9XnC4m5zzqORQWP62uRDNVZjyVnBs=";
+
+  meta = {
+    description = "Unconventional code formatting tool for JavaScript";
+    homepage = "https://github.com/rohitdhas/shittier";
+    license = lib.licenses.mit;
+    maintainers = with lib.maintainers; [ totoroot ];
+  };
+}