about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Heinrich <onny@project-insanity.org>2022-12-25 10:31:04 +0100
committerGitHub <noreply@github.com>2022-12-25 10:31:04 +0100
commitead8d4e9a04a6c821ff0d4b893745ffa6cb74bbe (patch)
treefc2d0f18be8599c5820c391287270aa3171fda87
parent0d2096bf9c22a9c0e48f53e04a3c58e3438c2d80 (diff)
parent86313e7339ec7430a6faed05fc48bdfcffe0a08a (diff)
Merge pull request #207398 from GoldsteinE/package/cargo-mommy
cargo-mommy: init at 0.1.1
-rw-r--r--maintainers/maintainer-list.nix9
-rw-r--r--pkgs/development/tools/rust/cargo-mommy/default.nix20
-rw-r--r--pkgs/top-level/all-packages.nix1
3 files changed, 30 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 2f0eb281950bc..6af7d0e5a37c4 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -5186,6 +5186,15 @@
     githubId = 643494;
     name = "Cillian de RĂ³iste";
   };
+  GoldsteinE = {
+    email = "root@goldstein.rs";
+    github = "GoldsteinE";
+    githubId = 12019211;
+    name = "Maximilian Siling";
+    keys = [{
+      fingerprint = "0BAF 2D87 CB43 746F 6237  2D78 DE60 31AB A0BB 269A";
+    }];
+  };
   Gonzih = {
     email = "gonzih@gmail.com";
     github = "Gonzih";
diff --git a/pkgs/development/tools/rust/cargo-mommy/default.nix b/pkgs/development/tools/rust/cargo-mommy/default.nix
new file mode 100644
index 0000000000000..b05282f4f779c
--- /dev/null
+++ b/pkgs/development/tools/rust/cargo-mommy/default.nix
@@ -0,0 +1,20 @@
+{ lib, rustPlatform, fetchCrate }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "cargo-mommy";
+  version = "0.1.1";
+
+  src = fetchCrate {
+    inherit pname version;
+    sha256 = "sha256-p1SAYUQu1HpYJ6TbLJ3lfA9VlKHvB7z5yiFXmTQOCXA=";
+  };
+
+  cargoSha256 = "sha256-5RidY+6EF23UNzz1suSdA4LL59FalipaJ+ISSsmiCXM=";
+
+  meta = with lib; {
+    description = "Cargo wrapper that encourages you after running commands";
+    homepage = "https://github.com/Gankra/cargo-mommy";
+    license = with licenses; [ mit asl20 ];
+    maintainers = with maintainers; [ GoldsteinE ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 4812a0671a0e7..f2ae6cfc422f4 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -15412,6 +15412,7 @@ with pkgs;
     inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
   };
   cargo-modules = callPackage ../development/tools/rust/cargo-modules { };
+  cargo-mommy = callPackage ../development/tools/rust/cargo-mommy { };
   cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
     inherit (darwin.apple_sdk.frameworks) Security;
   };