scmpuff: init at 0.3.0

scmpuff is tool to make working with git easier by making it possible
to refer to filenames using numeric shortcuts

authored by

Phillip Cloud and committed by
worldofpeace
9c2ffc58 89424e14

+299
+2
pkgs/applications/version-management/git-and-tools/default.nix
··· 187 187 188 188 qgit = qt5.callPackage ./qgit { }; 189 189 190 + scmpuff = callPackage ./scmpuff { }; 191 + 190 192 stgit = callPackage ./stgit { }; 191 193 192 194 subgit = callPackage ./subgit { };
+24
pkgs/applications/version-management/git-and-tools/scmpuff/default.nix
··· 1 + { stdenv, buildGoPackage, fetchFromGitHub }: 2 + 3 + buildGoPackage rec { 4 + pname = "scmpuff"; 5 + version = "0.3.0"; 6 + goPackagePath = "github.com/mroth/scmpuff"; 7 + 8 + goDeps = ./deps.nix; 9 + 10 + src = fetchFromGitHub { 11 + owner = "mroth"; 12 + repo = pname; 13 + rev = "56dc2041f2c45ab15d41e63058c1c44fff905e81"; 14 + sha256 = "0zrzzcs0i13pfwcqh8qb0sji54vh37rdr7qasg57y56cqpx16vl3"; 15 + }; 16 + 17 + meta = with stdenv.lib; { 18 + description = "Add numbered shortcuts to common git commands"; 19 + homepage = "https://github.com/mroth/scmpuff"; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ cpcloud ]; 22 + platforms = concatLists (with platforms; [ linux darwin windows ]); 23 + }; 24 + }
+273
pkgs/applications/version-management/git-and-tools/scmpuff/deps.nix
··· 1 + # file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix) 2 + [ 3 + { 4 + goPackagePath = "github.com/BurntSushi/toml"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/BurntSushi/toml"; 8 + rev = "v0.3.1"; 9 + sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"; 10 + }; 11 + } 12 + { 13 + goPackagePath = "github.com/armon/consul-api"; 14 + fetch = { 15 + type = "git"; 16 + url = "https://github.com/armon/consul-api"; 17 + rev = "eb2c6b5be1b6"; 18 + sha256 = "1j6fdr1sg36qy4n4xjl7brq739fpm5npq98cmvklzjc9qrx98nk9"; 19 + }; 20 + } 21 + { 22 + goPackagePath = "github.com/coreos/etcd"; 23 + fetch = { 24 + type = "git"; 25 + url = "https://github.com/coreos/etcd"; 26 + rev = "v3.3.10"; 27 + sha256 = "1x2ii1hj8jraba8rbxz6dmc03y3sjxdnzipdvg6fywnlq1f3l3wl"; 28 + }; 29 + } 30 + { 31 + goPackagePath = "github.com/coreos/go-etcd"; 32 + fetch = { 33 + type = "git"; 34 + url = "https://github.com/coreos/go-etcd"; 35 + rev = "v2.0.0"; 36 + sha256 = "1xb34hzaa1lkbq5vkzy9vcz6gqwj7hp6cdbvyack2bf28dwn33jj"; 37 + }; 38 + } 39 + { 40 + goPackagePath = "github.com/coreos/go-semver"; 41 + fetch = { 42 + type = "git"; 43 + url = "https://github.com/coreos/go-semver"; 44 + rev = "v0.2.0"; 45 + sha256 = "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0"; 46 + }; 47 + } 48 + { 49 + goPackagePath = "github.com/cpuguy83/go-md2man"; 50 + fetch = { 51 + type = "git"; 52 + url = "https://github.com/cpuguy83/go-md2man"; 53 + rev = "v1.0.10"; 54 + sha256 = "1bqkf2bvy1dns9zd24k81mh2p1zxsx2nhq5cj8dz2vgkv1xkh60i"; 55 + }; 56 + } 57 + { 58 + goPackagePath = "github.com/davecgh/go-spew"; 59 + fetch = { 60 + type = "git"; 61 + url = "https://github.com/davecgh/go-spew"; 62 + rev = "v1.1.1"; 63 + sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"; 64 + }; 65 + } 66 + { 67 + goPackagePath = "github.com/fsnotify/fsnotify"; 68 + fetch = { 69 + type = "git"; 70 + url = "https://github.com/fsnotify/fsnotify"; 71 + rev = "v1.4.7"; 72 + sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"; 73 + }; 74 + } 75 + { 76 + goPackagePath = "github.com/hashicorp/hcl"; 77 + fetch = { 78 + type = "git"; 79 + url = "https://github.com/hashicorp/hcl"; 80 + rev = "v1.0.0"; 81 + sha256 = "0q6ml0qqs0yil76mpn4mdx4lp94id8vbv575qm60jzl1ijcl5i66"; 82 + }; 83 + } 84 + { 85 + goPackagePath = "github.com/inconshreveable/mousetrap"; 86 + fetch = { 87 + type = "git"; 88 + url = "https://github.com/inconshreveable/mousetrap"; 89 + rev = "v1.0.0"; 90 + sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152"; 91 + }; 92 + } 93 + { 94 + goPackagePath = "github.com/magiconair/properties"; 95 + fetch = { 96 + type = "git"; 97 + url = "https://github.com/magiconair/properties"; 98 + rev = "v1.8.0"; 99 + sha256 = "1a10362wv8a8qwb818wygn2z48lgzch940hvpv81hv8gc747ajxn"; 100 + }; 101 + } 102 + { 103 + goPackagePath = "github.com/mitchellh/go-homedir"; 104 + fetch = { 105 + type = "git"; 106 + url = "https://github.com/mitchellh/go-homedir"; 107 + rev = "v1.1.0"; 108 + sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1"; 109 + }; 110 + } 111 + { 112 + goPackagePath = "github.com/mitchellh/mapstructure"; 113 + fetch = { 114 + type = "git"; 115 + url = "https://github.com/mitchellh/mapstructure"; 116 + rev = "v1.1.2"; 117 + sha256 = "03bpv28jz9zhn4947saqwi328ydj7f6g6pf1m2d4m5zdh5jlfkrr"; 118 + }; 119 + } 120 + { 121 + goPackagePath = "github.com/pelletier/go-toml"; 122 + fetch = { 123 + type = "git"; 124 + url = "https://github.com/pelletier/go-toml"; 125 + rev = "v1.2.0"; 126 + sha256 = "1fjzpcjng60mc3a4b2ql5a00d5gah84wj740dabv9kq67mpg8fxy"; 127 + }; 128 + } 129 + { 130 + goPackagePath = "github.com/pmezard/go-difflib"; 131 + fetch = { 132 + type = "git"; 133 + url = "https://github.com/pmezard/go-difflib"; 134 + rev = "v1.0.0"; 135 + sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; 136 + }; 137 + } 138 + { 139 + goPackagePath = "github.com/russross/blackfriday"; 140 + fetch = { 141 + type = "git"; 142 + url = "https://github.com/russross/blackfriday"; 143 + rev = "v1.5.2"; 144 + sha256 = "0jzbfzcywqcrnym4gxlz6nphmm1grg6wsl4f0r9x384rn83wkj7c"; 145 + }; 146 + } 147 + { 148 + goPackagePath = "github.com/spf13/afero"; 149 + fetch = { 150 + type = "git"; 151 + url = "https://github.com/spf13/afero"; 152 + rev = "v1.1.2"; 153 + sha256 = "0miv4faf5ihjfifb1zv6aia6f6ik7h1s4954kcb8n6ixzhx9ck6k"; 154 + }; 155 + } 156 + { 157 + goPackagePath = "github.com/spf13/cast"; 158 + fetch = { 159 + type = "git"; 160 + url = "https://github.com/spf13/cast"; 161 + rev = "v1.3.0"; 162 + sha256 = "0xq1ffqj8y8h7dcnm0m9lfrh0ga7pssnn2c1dnr09chqbpn4bdc5"; 163 + }; 164 + } 165 + { 166 + goPackagePath = "github.com/spf13/cobra"; 167 + fetch = { 168 + type = "git"; 169 + url = "https://github.com/spf13/cobra"; 170 + rev = "v0.0.4"; 171 + sha256 = "1k7dq78fjz94lzifsprkmiv93swwzwcbg1vd64v20wvnga8v254b"; 172 + }; 173 + } 174 + { 175 + goPackagePath = "github.com/spf13/jwalterweatherman"; 176 + fetch = { 177 + type = "git"; 178 + url = "https://github.com/spf13/jwalterweatherman"; 179 + rev = "v1.0.0"; 180 + sha256 = "093fmmvavv84pv4q84hav7ph3fmrq87bvspjj899q0qsx37yvdr8"; 181 + }; 182 + } 183 + { 184 + goPackagePath = "github.com/spf13/pflag"; 185 + fetch = { 186 + type = "git"; 187 + url = "https://github.com/spf13/pflag"; 188 + rev = "v1.0.3"; 189 + sha256 = "1cj3cjm7d3zk0mf1xdybh0jywkbbw7a6yr3y22x9sis31scprswd"; 190 + }; 191 + } 192 + { 193 + goPackagePath = "github.com/spf13/viper"; 194 + fetch = { 195 + type = "git"; 196 + url = "https://github.com/spf13/viper"; 197 + rev = "v1.3.2"; 198 + sha256 = "1829hvf805kda65l59r17wvid7y0vr390s23zfhf4w7vdb4wp3zh"; 199 + }; 200 + } 201 + { 202 + goPackagePath = "github.com/stretchr/testify"; 203 + fetch = { 204 + type = "git"; 205 + url = "https://github.com/stretchr/testify"; 206 + rev = "v1.2.2"; 207 + sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs"; 208 + }; 209 + } 210 + { 211 + goPackagePath = "github.com/ugorji/go"; 212 + fetch = { 213 + type = "git"; 214 + url = "https://github.com/ugorji/go"; 215 + rev = "d75b2dcb6bc8"; 216 + sha256 = "0di1k35gpq9bp958ywranpbskx2vdwlb38s22vl9rybm3wa5g3ps"; 217 + }; 218 + } 219 + { 220 + goPackagePath = "github.com/xordataexchange/crypt"; 221 + fetch = { 222 + type = "git"; 223 + url = "https://github.com/xordataexchange/crypt"; 224 + rev = "b2862e3d0a77"; 225 + sha256 = "04q3856anpzl4gdfgmg7pbp9cx231nkz3ymq2xp27rnmmwhfxr8y"; 226 + }; 227 + } 228 + { 229 + goPackagePath = "golang.org/x/crypto"; 230 + fetch = { 231 + type = "git"; 232 + url = "https://go.googlesource.com/crypto"; 233 + rev = "505ab145d0a9"; 234 + sha256 = "1vbsvcvmjz6c00p5vf8ls533p52fx2y3gy6v4k5qrdlzl4wf0i5s"; 235 + }; 236 + } 237 + { 238 + goPackagePath = "golang.org/x/sys"; 239 + fetch = { 240 + type = "git"; 241 + url = "https://go.googlesource.com/sys"; 242 + rev = "a5c9d58dba9a"; 243 + sha256 = "02qv5i7yps35p7fa81345qz7k8i73gkigj69anwmpw9rhpmzayf9"; 244 + }; 245 + } 246 + { 247 + goPackagePath = "golang.org/x/text"; 248 + fetch = { 249 + type = "git"; 250 + url = "https://go.googlesource.com/text"; 251 + rev = "v0.3.0"; 252 + sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19"; 253 + }; 254 + } 255 + { 256 + goPackagePath = "gopkg.in/check.v1"; 257 + fetch = { 258 + type = "git"; 259 + url = "https://gopkg.in/check.v1"; 260 + rev = "20d25e280405"; 261 + sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np"; 262 + }; 263 + } 264 + { 265 + goPackagePath = "gopkg.in/yaml.v2"; 266 + fetch = { 267 + type = "git"; 268 + url = "https://gopkg.in/yaml.v2"; 269 + rev = "v2.2.2"; 270 + sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"; 271 + }; 272 + } 273 + ]