mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-17 05:05:06 +01:00
mommy x
This commit is contained in:
parent
90f4ec0df1
commit
cddcbb6f9f
9 changed files with 213 additions and 1 deletions
25
custom-pkgs/cargo-mommy.nix
Normal file
25
custom-pkgs/cargo-mommy.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# copied from https://github.com/NixOS/nixpkgs/blob/d4b5a67bbe9ef750bd2fdffd4cad400dd5553af8/pkgs/development/tools/rust/cargo-mommy/default.nix#L15
|
||||
{ lib, rustPlatform, fetchFromGitHub, ... }:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "cargo-mommy";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Gankra";
|
||||
repo = "cargo-mommy";
|
||||
rev = "6feb98f10ede68c82d99f70aa79cb3a53530dc88";
|
||||
hash = "sha256-DuPDF594KgItrDzjFxP2xHNuzziZCmq5bCrhCh71Y1U=";
|
||||
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-YkKHlLv6w3PHjv9Z94QUUO41v0W1FJ7zAUoTsKfaQG0=";
|
||||
|
||||
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 ];
|
||||
mainProgram = "cargo-mommy";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue