2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchhg, autoconf, sqlite }:
|
2014-07-02 06:43:47 +00:00
|
|
|
|
2015-05-14 15:18:17 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "vcprompt";
|
2015-05-14 15:18:17 +00:00
|
|
|
version = "1.2.1";
|
2014-07-02 06:43:47 +00:00
|
|
|
|
|
|
|
src = fetchhg {
|
|
|
|
url = "http://hg.gerg.ca/vcprompt/";
|
2015-05-14 15:18:17 +00:00
|
|
|
rev = version;
|
2014-07-02 06:43:47 +00:00
|
|
|
sha256 = "03xqvp6bfl98bpacrw4n82qv9cw6a4fxci802s3vrygas989v1kj";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ sqlite autoconf ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
autoconf
|
|
|
|
makeFlags="$makeFlags PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2014-07-02 06:43:47 +00:00
|
|
|
description = ''
|
|
|
|
A little C program that prints a short string with barebones information
|
|
|
|
about the current working directory for various version control systems
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://hg.gerg.ca/vcprompt";
|
2014-07-02 06:43:47 +00:00
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
platforms = with platforms; linux ++ darwin;
|
2018-09-08 13:15:58 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2014-07-02 06:43:47 +00:00
|
|
|
};
|
|
|
|
}
|