nixpkgs/pkgs/tools/misc/fsql/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
607 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "fsql";
version = "0.3.1";
goPackagePath = "github.com/kshvmdn/fsql";
src = fetchFromGitHub {
owner = "kshvmdn";
repo = "fsql";
rev = "v${version}";
sha256 = "1accpxryk4744ydfrqc3la5k376ji11yr84n66dz5cx0f3n71vmz";
};
meta = with stdenv.lib; {
description = "Search through your filesystem with SQL-esque queries";
homepage = https://github.com/kshvmdn/fsql;
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
platforms = platforms.unix;
inherit version;
};
}