ce1c1e3093
With this patch I remove myself as a maintainer for all packages I currently maintain. This is due the fact that I will be basically off the grid from May 2018 until early 2019, as I will be on a trip through north america. I will revert this patch as soon as I'm back, as I plan to continue contributing to nixpkgs then. But as I cannot maintain anything during that time, I'd like to get this patch merged. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
26 lines
639 B
Nix
26 lines
639 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
version = "0.4.1";
|
|
name = "loc-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cgag";
|
|
repo = "loc";
|
|
rev = "v${version}";
|
|
sha256 = "0086asrx48qlmc484pjz5r5znli85q6qgpfbd81gjlzylj7f57gg";
|
|
};
|
|
|
|
cargoSha256 = "0y2ww48vh667kkyg9pyjwcbh7fxi41bjnkhwp749crjqn2abimrk";
|
|
|
|
meta = {
|
|
homepage = https://github.com/cgag/loc;
|
|
description = "Count lines of code quickly";
|
|
license = stdenv.lib.licenses.mit;
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|
|
|