depot/third_party/nixpkgs/pkgs/applications/version-management/vcprompt/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
802 B
Nix

{ lib, stdenv, fetchhg, autoconf, sqlite }:
stdenv.mkDerivation rec {
pname = "vcprompt";
version = "1.2.1";
src = fetchhg {
url = "http://hg.gerg.ca/vcprompt/";
rev = version;
sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj";
};
buildInputs = [ sqlite autoconf ];
preConfigure = ''
autoconf
makeFlags="$makeFlags PREFIX=$out"
'';
meta = with lib; {
description = ''
A little C program that prints a short string with barebones information
about the current working directory for various version control systems
'';
homepage = "http://hg.gerg.ca/vcprompt";
maintainers = with maintainers; [ ];
platforms = with platforms; linux ++ darwin;
license = licenses.gpl2Plus;
mainProgram = "vcprompt";
};
}