mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
24 lines
656 B
Nix
24 lines
656 B
Nix
{ stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-sweep";
|
|
version = "0.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "holmgr";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1zp0x0jy5bjqbxawlwvpj6vb3y602mnh19p48rw70kdx6vripbvj";
|
|
};
|
|
|
|
cargoSha256 = "1j5i4gp5mspgb8l6a25lqlyr5c16pchbh3g3yn8h1qlxj8g2vgnh";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A Cargo subcommand for cleaning up unused build files generated by Cargo";
|
|
homepage = https://github.com/holmgr/cargo-sweep;
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
};
|
|
}
|