1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/development/misc/loc/default.nix

27 lines
676 B
Nix
Raw Normal View History

2016-10-25 18:53:04 +01:00
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper }:
with rustPlatform;
buildRustPackage rec {
2016-12-08 14:59:47 +00:00
version = "0.3.4";
2016-10-25 18:53:04 +01:00
name = "loc-${version}";
src = fetchFromGitHub {
2016-10-30 20:45:04 +00:00
owner = "cgag";
2016-10-25 18:53:04 +01:00
repo = "loc";
2016-12-08 14:59:47 +00:00
rev = "9f3590f6299a1be3560f00de7f4f8bef61a02642";
sha256 = "0dga8prwnnmsa616jh64wzic957ff0491xghm0bjlns35ajc8lif";
2016-10-25 18:53:04 +01:00
};
2016-12-08 14:59:47 +00:00
depsSha256 = "1xcfhbnz208dk7xb748v8kv28zbhyr7wqg9gsgbiw3lnvc2a3nn6";
2016-10-25 18:53:04 +01:00
meta = {
homepage = "http://github.com/cgag/loc";
description = "Count lines of code quickly";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
platforms = with stdenv.lib.platforms; linux;
};
}