mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
27 lines
599 B
Nix
27 lines
599 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "dismap";
|
|
version = "0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zhzyker";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-YjjiS6iLIQvrPS378v2nyrgwWBJ9YtDeNTPz0ze05mU=";
|
|
};
|
|
|
|
vendorHash = "sha256-GnchyE2TswvjYlehhMYesZruTTwyTorfR+17K0RXXFY=";
|
|
|
|
meta = with lib; {
|
|
description = "Asset discovery and identification tools";
|
|
mainProgram = "dismap";
|
|
homepage = "https://github.com/zhzyker/dismap";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|